Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Polywrap Origin (0.11.2)
## Bugs
**`@polywrap/templates`:**
* [PR-1855](https://github.com/polywrap/cli/pull/1855) **Update TypeScript App Codegen**
* [PR-1858](https://github.com/polywrap/cli/pull/1858) **Update Client Version**

# Polywrap Origin (0.11.1)
## Bugs
**`polywrap` CLI:**
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.1
0.11.2
2 changes: 1 addition & 1 deletion WRAP_TEST_HARNESS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
chore/latest-rust-wrap-bindings
master
22 changes: 11 additions & 11 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,24 @@
"@ethersproject/providers": "5.6.8",
"@ethersproject/wallet": "5.6.2",
"@formatjs/intl": "1.8.2",
"@polywrap/asyncify-js": "0.12.0",
"@polywrap/client-config-builder-js": "0.12.0",
"@polywrap/client-js": "0.12.0",
"@polywrap/core-js": "0.12.0",
"@polywrap/asyncify-js": "~0.12.0",
"@polywrap/client-config-builder-js": "~0.12.0",
"@polywrap/client-js": "~0.12.0",
"@polywrap/core-js": "~0.12.0",
"@polywrap/ethereum-wallet-js": "~0.1.0",
"@polywrap/logging-js": "0.11.1",
"@polywrap/os-js": "0.11.1",
"@polywrap/polywrap-manifest-types-js": "0.11.1",
"@polywrap/result": "0.12.0",
"@polywrap/result": "~0.12.0",
"@polywrap/schema-bind": "0.11.1",
"@polywrap/schema-compose": "0.11.1",
"@polywrap/schema-parse": "0.11.1",
"@polywrap/sys-config-bundle-js": "0.12.0",
"@polywrap/uri-resolver-extensions-js": "0.12.0",
"@polywrap/uri-resolvers-js": "0.12.0",
"@polywrap/wasm-js": "0.12.0",
"@polywrap/web3-config-bundle-js": "0.12.0",
"@polywrap/wrap-manifest-types-js": "0.12.0",
"@polywrap/sys-config-bundle-js": "~0.12.0",
"@polywrap/uri-resolver-extensions-js": "~0.12.0",
"@polywrap/uri-resolvers-js": "~0.12.0",
"@polywrap/wasm-js": "~0.12.0",
"@polywrap/web3-config-bundle-js": "~0.12.0",
"@polywrap/wrap-manifest-types-js": "~0.12.0",
"axios": "0.21.2",
"chalk": "4.1.0",
"chokidar": "3.5.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"license": "MIT",
"dependencies": {
"@polywrap/msgpack-js": "0.9.3",
"@polywrap/msgpack-js": "~0.12.0",
"@types/multer": "1.4.7",
"dotenv": "8.6.0",
"express": "4.18.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/js/validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
},
"dependencies": {
"@polywrap/schema-compose": "0.11.1",
"@polywrap/wrap-manifest-types-js": "0.12.0"
"@polywrap/wrap-manifest-types-js": "~0.12.0"
},
"devDependencies": {
"@polywrap/msgpack-js": "0.10.0",
"@polywrap/msgpack-js": "~0.12.0",
"@polywrap/os-js": "0.11.1",
"@types/jest": "26.0.8",
"jest": "26.6.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/schema/bind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"copy:templates": "copyfiles -u 1 src/**/*.mustache build/"
},
"dependencies": {
"@polywrap/client-js": "0.12.0",
"@polywrap/client-js": "~0.12.0",
"@polywrap/os-js": "0.11.1",
"@polywrap/schema-parse": "0.11.1",
"@polywrap/wrap-manifest-types-js": "0.12.0",
"@polywrap/wrap-manifest-types-js": "~0.12.0",
"mustache": "4.0.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/bind/src/bindings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function getGenerateBindingFn(
);
case "app-ts":
return WrapBindgen.getGenerateBindingFn(
"https://github.com/polywrap/wrap-abi-bindgen/tree/wrap-0.1/implementations/app-typescript"
"https://github.com/polywrap/wrap-abi-bindgen/tree/nk/ts-app-codegen/implementations/app-typescript"
);
default:
throw Error(`Error: Language binding unsupported - ${bindLanguage}`);
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@polywrap/schema-parse": "0.11.1",
"@polywrap/wrap-manifest-types-js": "0.12.0",
"@polywrap/wrap-manifest-types-js": "~0.12.0",
"graphql": "15.5.0",
"mustache": "4.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@dorgjelli/graphql-schema-cycles": "1.1.4",
"@polywrap/wrap-manifest-types-js": "0.12.0",
"@polywrap/wrap-manifest-types-js": "~0.12.0",
"graphql": "15.5.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/templates/app/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@types/node": "18.15.0",
"polywrap": "0.11.1",
"polywrap": "~0.11.1",
"ts-node": "10.9.1",
"typescript": "4.9.5"
}
Expand Down
36 changes: 15 additions & 21 deletions packages/templates/app/typescript/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
import {
Logging_Module,
Ethereum_Module,
} from "./wrap";

import { PolywrapClient } from "@polywrap/client-js";

const client = new PolywrapClient();
import { Ethereum, Logging } from "./wrap";

async function main() {
console.log("Invoking: Logging.info(...)");

await Logging_Module.info({
const logger = new Logging();

await logger.info({
message: "Hello there",
}, client);
});

await Logging_Module.info({
await logger.info({
message: "Hello again",
}, client);
});

await Logging_Module.info({
await logger.info({
message: "One last time...",
}, client);
});

console.log("Invoking: Ethereum.encodeParams(...)");

const result = await Ethereum_Module.encodeParams(
{
types: ["address", "uint256"],
values: ["0xB1B7586656116D546033e3bAFF69BFcD6592225E", "500"],
},
client
);
const eth = new Ethereum();

const result = await eth.encodeParams({
types: ["address", "uint256"],
values: ["0xB1B7586656116D546033e3bAFF69BFcD6592225E", "500"],
});

if (result.ok) {
console.log(`Ethereum.encodeParams:\n${result.value}`);
Expand Down
2 changes: 1 addition & 1 deletion packages/templates/plugin/python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"private": true,
"version": "0.11.1",
"dependencies": {
"polywrap": "0.11.1"
"polywrap": "~0.11.1"
}
}
2 changes: 1 addition & 1 deletion packages/templates/plugin/rust/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"private": true,
"version": "0.11.1",
"dependencies": {
"polywrap": "0.11.1"
"polywrap": "~0.11.1"
}
}
2 changes: 1 addition & 1 deletion packages/templates/wasm/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "templates-interface",
"private": true,
"dependencies": {
"polywrap": "0.11.0-pre.2"
"polywrap": "~0.11.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.3.0"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "polywrap build"
},
"dependencies": {
"@polywrap/wasm-as": "0.9.3"
"@polywrap/wasm-as": "^0.11.0"
},
"devDependencies": {
"assemblyscript": "0.19.23"
Expand Down
Loading