Skip to content

Commit

Permalink
Merge pull request #1172 from polywrap/origin-dev
Browse files Browse the repository at this point in the history
Prep 0.4.1
  • Loading branch information
dOrgJelli authored Aug 22, 2022
2 parents 8414c46 + 206af8a commit 83537e4
Show file tree
Hide file tree
Showing 211 changed files with 1,828 additions and 12,506 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ module.exports = {
root: true,
ignorePatterns: [
"**/wrap/**/*.*",
"**/wrap-man/**/*.*",
"**/infra-modules/**/*.*",
"**/build/**/*.*",
"**/build-man/**/*.*",
"**/__tests__/**/*.*",
"**/node_modules/**/*.*",
"**/coverage/**/*.*"
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Polywrap Origin (0.4.1)
## Features
* [PR-1171](https://github.com/polywrap/monorepo/pull/1171) `@polywrap/schema-bind`: Handle reserve words (keywords) for object, enum, and method names.

## Bugs
* [PR-1168](https://github.com/polywrap/monorepo/pull/1168) `@polywrap/schema-bind`: Fix imported optional map issue in Rust bindings.
* [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.

# Polywrap Origin (0.4.0)
## Features
* [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.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0
0.4.1
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@
"clean": "npx rimraf ./**/node_modules ./**/yarn.lock ./**/build ./**/coverage ./**/.polywrap",
"dependencies:install": "cd dependencies && yarn",
"preinstall": "yarn dependencies:install",
"build": "yarn build:core && yarn build:plugins && yarn build:client && yarn build:test-env && yarn build:cli && yarn build:plugins:patch",
"build": "yarn build:core && yarn build:interfaces && yarn build:plugins && yarn build:client && yarn build:test-env && yarn build:cli",
"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",
"build:interfaces": "lerna run build --scope @polywrap/*-interface --concurrency 1",
"build:plugins": "lerna run build --scope @polywrap/*-plugin-js --concurrency 1",
"build:client": "lerna run build --scope @polywrap/client-js --scope @polywrap/react",
"build:test-env": "lerna run build --scope @polywrap/test-env-js",
"build:cli": "lerna run build --scope polywrap",
"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",
"link:interface:deps": "yarn link:manifests && yarn link:schema",
"link:manifests": "yarn link:manifests:polywrap && yarn link:manifests:wrap",
"link:manifests:polywrap": "cd packages/js/manifests/polywrap && (yarn unlink || true) && yarn link && cd ../../../../dependencies && yarn link @polywrap/polywrap-manifest-types-js && cd ../",
Expand Down
Binary file removed packages/interfaces/file-system/build-man/wrap.info
Binary file not shown.
Binary file removed packages/interfaces/ipfs/build-man/wrap.info
Binary file not shown.
Binary file removed packages/interfaces/logger/build-man/wrap.info
Binary file not shown.
Binary file removed packages/interfaces/uri-resolver/build-man/wrap.info
Binary file not shown.
8 changes: 4 additions & 4 deletions packages/js/client/src/__tests__/e2e/wasm-as.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,18 @@ describe("wasm-as test cases", () => {

const query = await client.invoke({
uri: ensUri,
method: "method1",
method: "if",
args: {
const: {
const: "successfully used reserved keyword",
if: {
else: "successfully used reserved keyword",
},
},
});

expect(query.error).toBeFalsy();
expect(query.data).toBeTruthy();
expect(query.data).toMatchObject({
const: "result: successfully used reserved keyword",
else: "successfully used reserved keyword",
});
});

Expand Down
3 changes: 1 addition & 2 deletions packages/js/plugins/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
"build"
],
"scripts": {
"build": "rimraf ./build && tsc --project tsconfig.build.json",
"build": "rimraf ./build && yarn codegen && tsc --project tsconfig.build.json",
"codegen": "node ../../../../dependencies/node_modules/polywrap/bin/polywrap plugin codegen",
"codegen:patch": "node ../../../cli/bin/polywrap plugin codegen && rimraf ./src/wrap",
"lint": "eslint --color -c ../../../../.eslintrc.js src/",
"test": "jest --passWithNoTests --runInBand --verbose",
"test:ci": "jest --passWithNoTests --runInBand --detectOpenHandles --verbose",
Expand Down
2 changes: 1 addition & 1 deletion packages/js/plugins/ethereum/src/Connection.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Connection as SchemaConnection } from "./wrap-man";
import { Connection as SchemaConnection } from "./wrap";

import { Signer, ethers } from "ethers";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/js/plugins/ethereum/src/__tests__/e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ethereumPlugin } from "..";
import * as Schema from "../wrap-man";
import * as Schema from "../wrap";

import { PolywrapClient, defaultIpfsProviders } from "@polywrap/client-js";
import { ensResolverPlugin } from "@polywrap/ens-resolver-plugin-js";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ import {
Args_sendRPC,
Args_sendTransaction,
Args_sendTransactionAndWait,
Args_signMessage, Args_requestAccounts,
Args_signMessage,
Args_requestAccounts,
} from "./wrap";
import { BigInt } from "@polywrap/wasm-as";

Expand Down
2 changes: 1 addition & 1 deletion packages/js/plugins/ethereum/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
Network,
Connection as SchemaConnection,
manifest,
} from "./wrap-man";
} from "./wrap";
import {
Connections,
Connection,
Expand Down
2 changes: 1 addition & 1 deletion packages/js/plugins/ethereum/src/utils/mapping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Access, TxReceipt, TxResponse, TxRequest, Log } from "../wrap-man";
import { Access, TxReceipt, TxResponse, TxRequest, Log } from "../wrap";

import { ethers } from "ethers";

Expand Down
8 changes: 0 additions & 8 deletions packages/js/plugins/ethereum/src/wrap-man/index.ts

This file was deleted.

Loading

0 comments on commit 83537e4

Please sign in to comment.