@canvas-js/interfaces
Advanced tools
Comparing version 0.1.3 to 0.2.0
{ | ||
"name": "@canvas-js/interfaces", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"type": "module", | ||
@@ -20,7 +20,7 @@ "author": "Canvas Technology Corporation (https://canvas.xyz)", | ||
"@ava/typescript": "^3.0.1", | ||
"@canvas-js/chain-cosmos": "0.1.3", | ||
"@canvas-js/chain-ethereum": "0.1.3", | ||
"@canvas-js/chain-solana": "0.1.3", | ||
"@canvas-js/chain-substrate": "0.1.3", | ||
"@canvas-js/interfaces": "0.1.3", | ||
"@canvas-js/chain-cosmos": "0.2.0", | ||
"@canvas-js/chain-ethereum": "0.2.0", | ||
"@canvas-js/chain-solana": "0.2.0", | ||
"@canvas-js/chain-substrate": "0.2.0", | ||
"@canvas-js/interfaces": "0.2.0", | ||
"@types/sha.js": "^2.4.0", | ||
@@ -27,0 +27,0 @@ "ava": "^5.1.0", |
@@ -7,13 +7,12 @@ # @canvas-js/interfaces | ||
### Default Canvas types | ||
* **[Action](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/actions.ts)**: | ||
- **[Action](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/actions.ts)**: | ||
An object that carries the signed data, signature, and optionally a `session` field | ||
if the payload was signed using a session address. | ||
* **[ActionPayload](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/actions.ts)**: | ||
- **[ActionPayload](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/actions.ts)**: | ||
The default signed data for a user interaction. This includes a function call and its arguments. | ||
* **[Session](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/sessions.ts)**: | ||
- **[Session](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/sessions.ts)**: | ||
An object that carries the signed data and signature for a session. | ||
* **[SessionPayload](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/sessions.ts)**: | ||
- **[SessionPayload](https://github.com/canvasxyz/canvas/blob/main/packages/interfaces/src/sessions.ts)**: | ||
The default signed data for initiating a session. This includes | ||
@@ -29,6 +28,5 @@ a signature, timestamp, and for applications that read from blockchain data, | ||
### Custom Actions | ||
### Custom Canvas types | ||
Canvas will also support custom action payloads. More documentation on | ||
this will be included in an upcoming release. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17469
36
452
31