Skip to content

Commit edc4e4c

Browse files
release v0.1.1 (#84)
* feat: add readme & changelog * readme copyedits * chore: bump version to 0.1.1 * fix(cd): issues * fix(cd): issues Co-authored-by: krisbitney <kristoferbitney@hotmail.com>
1 parent 35ebbc4 commit edc4e4c

File tree

22 files changed

+156
-30
lines changed

22 files changed

+156
-30
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ jobs:
9393
run: pinata-cli -a ${{ secrets.PINATA_API_KEY }}
9494

9595
# Fetch Built Wrappers
96+
- name: create builds
97+
run: mkdir ./builds # fails if dir already exists but that's okay
98+
continue-on-error: true
9699
- uses: dawidd6/action-download-artifact@v2
97100
with:
98101
github_token: ${{secrets.GITHUB_TOKEN}}
@@ -101,17 +104,17 @@ jobs:
101104
branch: main
102105
event: push
103106
name: ${{ steps.package.outputs.name }}-${{ matrix.language }}-build-artifact
104-
path: ./${{ steps.package.outputs.name }}
107+
path: ./${{ steps.package.outputs.name }}-${{ matrix.language }}-build-artifact
105108
- name: create deployments
106109
run: mkdir ./deployments # fails if dir already exists but that's okay
107110
continue-on-error: true
108111

109112
# Deploy wrappers to IPFS
110113
- name: Deploy current wrapper to IPFS
111-
run: pinata-cli -u ./${{ steps.package.outputs.name }} > ./deployments/${{ steps.package.outputs.name }}.ipfs.txt
114+
run: pinata-cli -u ./${{ steps.package.outputs.name }}-${{ matrix.language }}-build-artifact > ./deployments/${{ steps.package.outputs.name }}-${{ matrix.language }}.ipfs.txt
112115
- id: ipfs
113116
name: Fetch IPFS CID for current wrapper
114-
run: echo ::set-output name=value::$(node ./scripts/release/getIpfsCid.js "$(cat ./deployments/${{ steps.package.outputs.name }}.ipfs.txt)")
117+
run: echo ::set-output name=value::$(node ./scripts/release/getIpfsCid.js "$(cat ./deployments/${{ steps.package.outputs.name }}-${{ matrix.language }}.ipfs.txt)")
115118

116119
# Deploy wrappers to ENS
117120
- id: ensExists

CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Changelog
2+
3+
## [v0.1.0](https://github.com/polywrap/demos/tree/v0.1.0) (2022-07-20)
4+
5+
[Full Changelog](https://github.com/polywrap/demos/compare/6afae493ddb29f09074ee91da40f6f761fb0bcca...v0.1.0)
6+
7+
**Closed issues:**
8+
9+
- Rust implementation of demos wrappers [\#56](https://github.com/polywrap/demos/issues/56)
10+
- Add a default deploy manifest to the wrapper demos [\#46](https://github.com/polywrap/demos/issues/46)
11+
- Demo showing how to query metadata using the client [\#32](https://github.com/polywrap/demos/issues/32)
12+
- Demo: TypeScript + React App [\#43](https://github.com/polywrap/demos/issues/43)
13+
- Demo: JavaScript + Vanilla Browser App [\#41](https://github.com/polywrap/demos/issues/41)
14+
- Demo: JavaScript + Node.JS App [\#42](https://github.com/polywrap/demos/issues/42)
15+
- Demo: TypeScript + Node.JS App [\#40](https://github.com/polywrap/demos/issues/40)
16+
- Demo: TypeScript + Vanilla Browser App [\#39](https://github.com/polywrap/demos/issues/39)
17+
- Demo: JavaScript Plugin [\#38](https://github.com/polywrap/demos/issues/38)
18+
- Demo: TypeScript Plugin [\#37](https://github.com/polywrap/demos/issues/37)
19+
- Demo: AssemblyScript Wrapper [\#36](https://github.com/polywrap/demos/issues/36)
20+
- Demo: Rust Wrapper [\#35](https://github.com/polywrap/demos/issues/35)
21+
- Demo: plugin\(s\) [\#33](https://github.com/polywrap/demos/issues/33)
22+
- Demo: application\(s\) [\#44](https://github.com/polywrap/demos/issues/44)
23+
- Demo: wrapper\(s\) [\#34](https://github.com/polywrap/demos/issues/34)
24+
- set up discord integration [\#26](https://github.com/polywrap/demos/issues/26)
25+
- Node.JS Polywrap Abort Demo [\#25](https://github.com/polywrap/demos/issues/25)
26+
- Demo: Using the HTTP plugin [\#24](https://github.com/polywrap/demos/issues/24)
27+
- Unable to `yarn start` when updating to prealpha 44 [\#18](https://github.com/polywrap/demos/issues/18)
28+
- hello-world dApp: No Web3API found at URI: w3://ens/api.simplestorage.eth [\#4](https://github.com/polywrap/demos/issues/4)
29+
- hello-world dApp: Improve styling \(currently using create-react-app template\) [\#3](https://github.com/polywrap/demos/issues/3)
30+
- Plan Uniswap V2 Web3API Demo [\#1](https://github.com/polywrap/demos/issues/1)
31+
32+
**Merged pull requests:**
33+
34+
- refactor: keep version of all the wrappers 0.1.0 [\#81](https://github.com/polywrap/demos/pull/81) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
35+
- feat: add ci for apps [\#80](https://github.com/polywrap/demos/pull/80) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
36+
- feat: add ci [\#77](https://github.com/polywrap/demos/pull/77) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
37+
- chore\(hello-world\): vanilla apps fixed [\#76](https://github.com/polywrap/demos/pull/76) ([cbrzn](https://github.com/cbrzn))
38+
- updated simple storage dapp for Origin release [\#75](https://github.com/polywrap/demos/pull/75) ([krisbitney](https://github.com/krisbitney))
39+
- Subgraph query origin update [\#74](https://github.com/polywrap/demos/pull/74) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
40+
- chore\(json-rpc\): update manifest [\#73](https://github.com/polywrap/demos/pull/73) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
41+
- chore: hello world apps updated [\#70](https://github.com/polywrap/demos/pull/70) ([cbrzn](https://github.com/cbrzn))
42+
- \[DRAFT\] updated fetch-metadata app for Origin release [\#68](https://github.com/polywrap/demos/pull/68) ([krisbitney](https://github.com/krisbitney))
43+
- updated subgraph query wrappers for Origin [\#67](https://github.com/polywrap/demos/pull/67) ([krisbitney](https://github.com/krisbitney))
44+
- updated simple-storage wrappers for Origin release [\#66](https://github.com/polywrap/demos/pull/66) ([krisbitney](https://github.com/krisbitney))
45+
- \[DRAFT\] update hellow world wrapper for origin [\#65](https://github.com/polywrap/demos/pull/65) ([krisbitney](https://github.com/krisbitney))
46+
- update json-rpc demo for Polywrap Origin [\#64](https://github.com/polywrap/demos/pull/64) ([krisbitney](https://github.com/krisbitney))
47+
- HTTP Query demo: Rust Wasm wrapper [\#62](https://github.com/polywrap/demos/pull/62) ([krisbitney](https://github.com/krisbitney))
48+
- HTTP Query demo: AssemblyScript Wasm wrapper [\#61](https://github.com/polywrap/demos/pull/61) ([krisbitney](https://github.com/krisbitney))
49+
- feat\(subgraph-query\): update using latest toolchain [\#60](https://github.com/polywrap/demos/pull/60) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
50+
- feat\(simple-storage\): update demo using latest toolchain [\#59](https://github.com/polywrap/demos/pull/59) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
51+
- Update: Hello world wrapper & apps [\#58](https://github.com/polywrap/demos/pull/58) ([cbrzn](https://github.com/cbrzn))
52+
- refactor: demos repo project structure [\#57](https://github.com/polywrap/demos/pull/57) ([Niraj-Kamdar](https://github.com/Niraj-Kamdar))
53+
- Feat: Vanilla TS demo [\#51](https://github.com/polywrap/demos/pull/51) ([cbrzn](https://github.com/cbrzn))
54+
- Feat: Vanilla JS demo [\#50](https://github.com/polywrap/demos/pull/50) ([cbrzn](https://github.com/cbrzn))
55+
- fetch-metadata-demo [\#49](https://github.com/polywrap/demos/pull/49) ([krisbitney](https://github.com/krisbitney))
56+
- Feat: Sample plugin updates [\#48](https://github.com/polywrap/demos/pull/48) ([cbrzn](https://github.com/cbrzn))
57+
- Node.js Demo: Added README and package versions updated [\#47](https://github.com/polywrap/demos/pull/47) ([cbrzn](https://github.com/cbrzn))
58+
- Demos v2 [\#28](https://github.com/polywrap/demos/pull/28) ([codentell](https://github.com/codentell))
59+
- Polywrap Client Threads [\#27](https://github.com/polywrap/demos/pull/27) ([dOrgJelli](https://github.com/dOrgJelli))
60+
- Custom DateTime Plugin + Wrapper Demo [\#21](https://github.com/polywrap/demos/pull/21) ([dOrgJelli](https://github.com/dOrgJelli))
61+
- Subgraph Query Demo [\#20](https://github.com/polywrap/demos/pull/20) ([dOrgJelli](https://github.com/dOrgJelli))
62+
- Wrapper Metadata Example [\#19](https://github.com/polywrap/demos/pull/19) ([dOrgJelli](https://github.com/dOrgJelli))
63+
- upgrade to 0.0.1-prealpha.44 [\#17](https://github.com/polywrap/demos/pull/17) ([rihp](https://github.com/rihp))
64+
- Update simplestorage brand to Polywrap and update package to prealpha 30 [\#15](https://github.com/polywrap/demos/pull/15) ([kev-ngo](https://github.com/kev-ngo))
65+
- Rename web3api folder to wrapper, update sample-plugin to pre-alpha 29 and pass all tests [\#13](https://github.com/polywrap/demos/pull/13) ([kev-ngo](https://github.com/kev-ngo))
66+
- Hello World Demo: Rebrand to Polywrap and update @web3api/client-js and @web3api/react to pre-alpha 29 [\#12](https://github.com/polywrap/demos/pull/12) ([kev-ngo](https://github.com/kev-ngo))
67+
- HelloWorld Demo: Update styling, README, favicon, and code refactorings [\#9](https://github.com/polywrap/demos/pull/9) ([kev-ngo](https://github.com/kev-ngo))
68+
- Completed SimpleStorage Web3API Demo [\#7](https://github.com/polywrap/demos/pull/7) ([dOrgJelli](https://github.com/dOrgJelli))
69+
70+
71+
72+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ Each demo contains a `README.md` for further instructions on building and runnin
2626

2727
| Demo | Type | Status | Version |
2828
| ------------------------------------ | ----------- | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
29-
| [Hello World](./hello-world) | wrapper/app | Live: [App](https://demo.helloworld.polywrap.io/) | [![npm](https://img.shields.io/npm/v/polywrap.svg?style=for-the-badge)](https://www.npmjs.com/package/polywrap) |
30-
| [Simple Storage](./simple-storage) | wrapper/app | Live: [App](https://demo.simplestorage.polywrap.io/) | [![npm](https://img.shields.io/npm/v/polywrap.svg?style=for-the-badge)](https://www.npmjs.com/package/polywrap) |
31-
| [Fetch Metadata](./fetch-metadata) | app | Live: [App](todo) | [![npm](https://img.shields.io/npm/v/polywrap.svg?style=for-the-badge)](https://www.npmjs.com/package/polywrap) |
32-
| [Subgraph Query](./subgraph-query) | wrapper | Running | [![npm](https://img.shields.io/npm/v/polywrap.svg?style=for-the-badge)](https://www.npmjs.com/package/polywrap) |
33-
| [JSON RPC](./json-rpc) | wrapper | Running | [![npm](https://img.shields.io/npm/v/polywrap.svg?style=for-the-badge)](https://www.npmjs.com/package/polywrap) |
29+
| [Hello World](./hello-world) | wrapper + app | Live: [App](https://demo.helloworld.polywrap.io/) | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
30+
| [Simple Storage](./simple-storage) | wrapper + app | Live: [App](https://demo.simplestorage.polywrap.io/) | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
31+
| [Fetch Metadata](./fetch-metadata) | app | Live: [App](todo) | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
32+
| [Subgraph Query](./subgraph-query) | wrapper | Running | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
33+
| [JSON RPC](./json-rpc) | wrapper | Running | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
3434

3535
## Have a demo not in this list?
3636

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.1.0
1+
v0.1.1

fetch-metadata/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
# Polywrap Demo: Fetch Metadata
22

3-
This project demonstrates how a wrapper's Meta Manifest `web3api.meta.yaml` can be fetched using the Polywrap client.
3+
This project demonstrates how a wrapper's Meta Manifest `polywrap.meta.yaml` can be fetched using the Polywrap client.
44

5-
To see it in action, run the demo in development mode and enter a wrap URI. The demo will then display the contents of
5+
To see it in action, either go to [fetchmetadata.demo.polywrap.io](https://fetchmetadata.demo.polywrap.io/) or run the demo in development mode and enter a wrap URI. The demo will then display the contents of
66
the Meta Manifest.
77

88
Try these URIs to test it out:
99

10-
Uniswap v3 wrapper: w3://ipfs/QmcFf5GY1EboKGtf1cJQM8BxyPbwk3pVjwt4zVyiYeftSD
10+
Hello World Assemblyscript Wrapper: `wrap://ens/goerli/hello.as.demos.polywrap.eth`
1111

1212
Some examples of valid URIs are:
13-
* w3://ipfs/QmHASH
14-
* w3://ens/sub.domain.eth
15-
* w3://fs/directory/file.txt
16-
* w3://uns/domain.crypto
13+
* wrap://ipfs/QmHASH
14+
* wrap://ens/sub.domain.eth
15+
* wrap://fs/directory/file.txt
1716
* ens/sub.domain.eth
1817
* ipfs/QmHASH
1918

2019
Breaking down the various parts of the URI, as it applies to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):
21-
* **w3://** - URI Scheme: differentiates Polywrap URIs.
20+
* **wrap://** - URI Scheme: differentiates Polywrap URIs.
2221
* **ipfs/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.
2322
* **sub.domain.eth** - URI Path: tells the Authority where the API resides.
2423

fetch-metadata/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "polywrap-fetch-metadata-demo",
33
"description": "Polywrap Fetch Metadata Demo",
44
"private": true,
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"dependencies": {
77
"@emotion/react": "11.9.0",
88
"@emotion/styled": "11.8.1",

hello-world/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Hello World
2+
This is a simple hello-world project which allows user to print any message to the console.
3+
4+
We have implemented this project in the below WASM compatible languages:
5+
6+
| Language | Source | Status | Version |
7+
|----------|--------|--------|---------|
8+
| ![Rust](https://img.shields.io/badge/Rust-ffffff?style=for-the-badge&labelColor=ffff99&logoColor=000000&logo=rust) | [./wrapper/rust](./wrapper/rust) |Running | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
9+
| ![AssemblyScript](https://img.shields.io/badge/AssemblyScript-007AAC?style=for-the-badge&labelColor=ffffff&logoColor=007AAC&logo=assemblyscript) | [./wrapper/assemblyscript](./wrapper/assemblyscript/) | Running | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
10+
11+
We have also created demo apps that integrate this wrapper using different language/frameworks:
12+
13+
| Language | Framework | Source | App | Version |
14+
|----------|-----------|--------|---------|---------|
15+
| ![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&labelColor=ffffff&logoColor=3178C6&logo=typescript) | [React.js](https://reactjs.org/) | [./app/react.js/](./app/react.js/) | [Live](https://helloworld.demo.polywrap.io/) | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
16+
| ![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&labelColor=ffffff&logoColor=3178C6&logo=typescript) | [Next.js](https://nextjs.org/) | [./app/next.js](./app/next.js/) | N/A | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
17+
| ![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&labelColor=ffffff&logoColor=3178C6&logo=typescript) | [Node.js](https://nodejs.org/) | [./app/ts-vanilla/](./app/ts-vanilla/) | N/A | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
18+
| ![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&labelColor=ffffff&logoColor=3178C6&logo=typescript) | Vanilla | [./app/ts-vanilla/](./app/ts-vanilla/) | N/A | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |
19+
| ![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&labelColor=ffffff&logoColor=F7DF1E&logo=javascript) | Vanilla | [./app/js-vanilla/](./app/ts-vanilla/) | N/A | [![Polywrap](https://img.shields.io/badge/Polywrap-0.2.0-blue?style=for-the-badge)](https://www.npmjs.com/package/polywrap/v/0.2.0) |

hello-world/app/js-vanilla/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "hello-world-app-vanilla-javascript",
33
"description": "Polywrap dApp Vanilla Javascript Template",
44
"private": true,
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"scripts": {
77
"start": "serve ./dist",
88
"build": "yarn codegen && rollup -c && cp -r public/* dist",

hello-world/app/node.js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "templates-app-typescript-node",
33
"description": "Polywrap App TypeScript Node Template",
44
"private": true,
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"scripts": {
77
"codegen": "polywrap app codegen",
88
"build": "yarn codegen && tsc",

hello-world/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "hello-world-app",
33
"description": "Hello World app implementations",
44
"private": true,
5-
"version": "0.1.0",
5+
"version": "0.1.1",
66
"scripts": {
77
"install": "yarn install:js-vanilla && yarn install:next-js && yarn install:node-js && yarn install:react-js && yarn install:ts-vanilla",
88
"install:js-vanilla": "yarn --cwd ./js-vanilla install",

0 commit comments

Comments
 (0)