Skip to content

Commit 3ca2ed2

Browse files
authored
Merge pull request #152 from prefab-cloud/support-new-sdk-key-format
Support new SDK key format, bump to v0.5.3
2 parents fc679d8 + 42aee43 commit 3ca2ed2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"update-submodule": "git submodule update --remote src/prefab-common",
7575
"version": "yarn build && oclif readme && git add README.md && cat package.json | jq .version | awk '{print \"// NOTE: This file is generated\\nexport default \"$1}' > src/version.ts && git add src/version.ts"
7676
},
77-
"version": "0.5.2",
77+
"version": "0.5.3",
7878
"bugs": "https://github.com/prefab-cloud/prefab-cli/issues",
7979
"keywords": [
8080
"oclif"

src/prefab-common

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// NOTE: This file is generated
2-
export default '0.5.2'
2+
export default '0.5.3'

test/responses/set-default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const cannedResponses: CannedResponses = {
172172
[
173173
{
174174
configKey: 'test.json',
175-
currentVersionId: '17259086775344510',
175+
currentVersionId: ANY,
176176
environmentId: '6',
177177
value: {
178178
json: {

test/test-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const getCannedResponse = async (
105105
let body: DefaultBodyType = {}
106106

107107
if (request.method === 'POST') {
108-
body = await request.json()
108+
body = await request.clone().json()
109109

110110
if (!body || typeof body !== 'object') {
111111
throw new Error('Expected http body to be an object')

0 commit comments

Comments
 (0)