Skip to content

Commit 482b55d

Browse files
committed
fix: wrap-manifest-types works in browser
1 parent 0683d1b commit 482b55d

File tree

11 files changed

+514
-1472
lines changed

11 files changed

+514
-1472
lines changed

examples/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
},
1313
"devDependencies": {
1414
"@polywrap/client-js": "../packages/client",
15-
"@polywrap/file-system-plugin-js": "0.12.0-pre.0",
16-
"@polywrap/http-plugin-js": "0.12.0-pre.0",
17-
"@polywrap/logger-plugin-js": "0.12.0-pre.0",
15+
"@polywrap/file-system-plugin-js": "0.12.0",
16+
"@polywrap/http-plugin-js": "0.12.0",
17+
"@polywrap/logger-plugin-js": "0.12.0",
1818
"@polywrap/ethereum-wallet-js": "0.1.0",
1919
"ts-node": "10.9.1",
2020
"typescript": "4.9.5"

integration-tests/react-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@polywrap/client-js": "~0.12.0-pre.1",
7-
"@polywrap/sys-config-bundle-js": "~0.12.0-pre.1",
6+
"@polywrap/client-js": "~0.12.0",
7+
"@polywrap/sys-config-bundle-js": "~0.12.0",
88
"@types/react": "^18.2.13",
99
"@types/react-dom": "^18.2.6",
1010
"react": "^18.2.0",

packages/config-bundles/sys/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
"lint": "eslint --color -c ../../../.eslintrc.js src/"
1919
},
2020
"dependencies": {
21-
"@polywrap/concurrent-plugin-js": "~0.12.0-pre.0",
21+
"@polywrap/concurrent-plugin-js": "~0.12.0",
2222
"@polywrap/config-bundle-types-js": "0.12.0",
23-
"@polywrap/datetime-plugin-js": "~0.12.0-pre.0",
24-
"@polywrap/file-system-plugin-js": "~0.12.0-pre.0",
25-
"@polywrap/http-plugin-js": "~0.12.0-pre.0",
26-
"@polywrap/logger-plugin-js": "~0.12.0-pre.0",
23+
"@polywrap/datetime-plugin-js": "~0.12.0",
24+
"@polywrap/file-system-plugin-js": "~0.12.0",
25+
"@polywrap/http-plugin-js": "~0.12.0",
26+
"@polywrap/logger-plugin-js": "~0.12.0",
2727
"@polywrap/uri-resolver-extensions-js": "0.12.0",
2828
"base64-to-uint8array": "1.0.0"
2929
},
3030
"peerDependencies": {
31-
"@polywrap/msgpack-js": "0.12.0-pre.1"
31+
"@polywrap/msgpack-js": "0.12.x"
3232
},
3333
"devDependencies": {
3434
"@polywrap/wrap-manifest-types-js": "0.12.0",

packages/manifests/wrap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"dependencies": {
1818
"@polywrap/msgpack-js": "0.12.0",
1919
"ajv": "8.12.0",
20-
"semver": "7.5.0"
20+
"semver": "~7.5.4"
2121
},
2222
"devDependencies": {
2323
"@apidevtools/json-schema-ref-parser": "9.0.9",
24-
"@polywrap/os-js": "~0.10.0",
24+
"@polywrap/os-js": "~0.11.0",
2525
"@polywrap/wrap-manifest-schemas": "0.9.7",
2626
"@types/jest": "29.5.0",
2727
"@types/mustache": "4.0.1",

packages/plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@polywrap/wrap-manifest-types-js": "0.12.0"
2626
},
2727
"peerDependencies": {
28-
"@polywrap/core-js": "0.11.x"
28+
"@polywrap/core-js": "0.12.x"
2929
},
3030
"devDependencies": {
3131
"@types/jest": "29.5.0",

packages/test-cases/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"generate:wraps": "ts-node -e \"import { fetchWrappers } from './'; (async () => await fetchWrappers())()\""
1717
},
1818
"dependencies": {
19-
"@polywrap/os-js": "~0.10.0"
19+
"@polywrap/os-js": "~0.11.0"
2020
},
2121
"devDependencies": {
2222
"@types/adm-zip": "0.5.0",

packages/uri-resolver-extensions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@polywrap/wrap-manifest-types-js": "0.12.0"
3030
},
3131
"devDependencies": {
32-
"@polywrap/cli-js": "~0.10.0",
32+
"@polywrap/cli-js": "~0.11.0",
3333
"@polywrap/core-client-js": "0.12.0",
3434
"@polywrap/plugin-js": "0.12.0",
3535
"@polywrap/test-cases": "0.12.0",
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
11
#import { Module } into TestResolver from "wrap://package/test-resolver"
2+
#import * from "wrapscan.io/polywrap/[email protected]"
23

34
type Env {}
4-
5-
# NOTE: below is a hack, replace import from the following URI once CLI & Client are out of -pre release
6-
# "wrapscan.io/polywrap/[email protected]"
7-
8-
type Module {
9-
tryResolveUri(
10-
authority: String!
11-
path: String!
12-
): MaybeUriOrManifest @env(required: false)
13-
14-
getFile(
15-
path: String!
16-
): Bytes @env(required: false)
17-
}
18-
19-
type MaybeUriOrManifest {
20-
uri: String
21-
manifest: Bytes
22-
}
Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
type Env {}
2-
3-
# NOTE: below is a hack, replace import from the following URI once CLI & Client are out of -pre release
4-
# "wrapscan.io/polywrap/[email protected]"
5-
6-
type Module {
7-
tryResolveUri(
8-
authority: String!
9-
path: String!
10-
): MaybeUriOrManifest @env(required: false)
1+
#import * from "wrapscan.io/polywrap/[email protected]"
112

12-
getFile(
13-
path: String!
14-
): Bytes @env(required: false)
15-
}
16-
17-
type MaybeUriOrManifest {
18-
uri: String
19-
manifest: Bytes
20-
}
3+
type Env {}

packages/wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@polywrap/wrap-manifest-types-js": "0.12.0"
2727
},
2828
"peerDependencies": {
29-
"@polywrap/core-js": "0.11.x"
29+
"@polywrap/core-js": "0.12.x"
3030
},
3131
"devDependencies": {
3232
"@polywrap/test-cases": "0.12.0",

0 commit comments

Comments
 (0)