Skip to content

Commit 83537e4

Browse files
authored
Merge pull request #1172 from polywrap/origin-dev
Prep 0.4.1
2 parents 8414c46 + 206af8a commit 83537e4

211 files changed

Lines changed: 1828 additions & 12506 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ module.exports = {
22
root: true,
33
ignorePatterns: [
44
"**/wrap/**/*.*",
5-
"**/wrap-man/**/*.*",
65
"**/infra-modules/**/*.*",
76
"**/build/**/*.*",
8-
"**/build-man/**/*.*",
97
"**/__tests__/**/*.*",
108
"**/node_modules/**/*.*",
119
"**/coverage/**/*.*"

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Polywrap Origin (0.4.1)
2+
## Features
3+
* [PR-1171](https://github.com/polywrap/monorepo/pull/1171) `@polywrap/schema-bind`: Handle reserve words (keywords) for object, enum, and method names.
4+
5+
## Bugs
6+
* [PR-1168](https://github.com/polywrap/monorepo/pull/1168) `@polywrap/schema-bind`: Fix imported optional map issue in Rust bindings.
7+
* [PR-1167](https://github.com/polywrap/monorepo/pull/1167) Remove all `wrap-man` folders, that were published to solve the plugin's circular dependency issue.
8+
19
# Polywrap Origin (0.4.0)
210
## Features
311
* [PR-1091](https://github.com/polywrap/monorepo/pull/1091) `@polywrap/polywrap-manifest-schemas`: Polywrap project manifests (`polywrap.yaml`, `polywrap.app.yaml`, `polywrap.plugin.yaml`) have a new format `0.2.0`, which restructures the manifest into 3 top level properties: `project`, `source`, and `extensions`. Additionally all project manifests can be given the `polywrap.yaml` file name.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.0
1+
0.4.1

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@
2525
"clean": "npx rimraf ./**/node_modules ./**/yarn.lock ./**/build ./**/coverage ./**/.polywrap",
2626
"dependencies:install": "cd dependencies && yarn",
2727
"preinstall": "yarn dependencies:install",
28-
"build": "yarn build:core && yarn build:plugins && yarn build:client && yarn build:test-env && yarn build:cli && yarn build:plugins:patch",
28+
"build": "yarn build:core && yarn build:interfaces && yarn build:plugins && yarn build:client && yarn build:test-env && yarn build:cli",
2929
"build:core": "lerna run build --no-private --ignore @polywrap/*-plugin-js --ignore polywrap --ignore @polywrap/client-js --ignore @polywrap/react --ignore @polywrap/test-env-js --ignore @polywrap/*-interface",
3030
"build:interfaces": "lerna run build --scope @polywrap/*-interface --concurrency 1",
3131
"build:plugins": "lerna run build --scope @polywrap/*-plugin-js --concurrency 1",
3232
"build:client": "lerna run build --scope @polywrap/client-js --scope @polywrap/react",
3333
"build:test-env": "lerna run build --scope @polywrap/test-env-js",
3434
"build:cli": "lerna run build --scope polywrap",
35-
"build:plugins:patch": "cd packages/js/plugins/ethereum && yarn codegen:patch && cd ../http && yarn codegen:patch && lerna run codegen:patch --scope @polywrap/*-plugin-js --concurrency 1",
3635
"link:interface:deps": "yarn link:manifests && yarn link:schema",
3736
"link:manifests": "yarn link:manifests:polywrap && yarn link:manifests:wrap",
3837
"link:manifests:polywrap": "cd packages/js/manifests/polywrap && (yarn unlink || true) && yarn link && cd ../../../../dependencies && yarn link @polywrap/polywrap-manifest-types-js && cd ../",
-2.11 KB
Binary file not shown.
-1.59 KB
Binary file not shown.
-473 Bytes
Binary file not shown.
-849 Bytes
Binary file not shown.

packages/js/client/src/__tests__/e2e/wasm-as.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,18 @@ describe("wasm-as test cases", () => {
9595

9696
const query = await client.invoke({
9797
uri: ensUri,
98-
method: "method1",
98+
method: "if",
9999
args: {
100-
const: {
101-
const: "successfully used reserved keyword",
100+
if: {
101+
else: "successfully used reserved keyword",
102102
},
103103
},
104104
});
105105

106106
expect(query.error).toBeFalsy();
107107
expect(query.data).toBeTruthy();
108108
expect(query.data).toMatchObject({
109-
const: "result: successfully used reserved keyword",
109+
else: "successfully used reserved keyword",
110110
});
111111
});
112112

packages/js/plugins/ethereum/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
"build"
1313
],
1414
"scripts": {
15-
"build": "rimraf ./build && tsc --project tsconfig.build.json",
15+
"build": "rimraf ./build && yarn codegen && tsc --project tsconfig.build.json",
1616
"codegen": "node ../../../../dependencies/node_modules/polywrap/bin/polywrap plugin codegen",
17-
"codegen:patch": "node ../../../cli/bin/polywrap plugin codegen && rimraf ./src/wrap",
1817
"lint": "eslint --color -c ../../../../.eslintrc.js src/",
1918
"test": "jest --passWithNoTests --runInBand --verbose",
2019
"test:ci": "jest --passWithNoTests --runInBand --detectOpenHandles --verbose",

0 commit comments

Comments
 (0)