@kynesyslabs/demosdk 2.7.4 → 2.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132,4 +132,21 @@ export interface GCREditEscrow {
132
132
  txhash: string;
133
133
  isRollback: boolean;
134
134
  }
135
- export type GCREdit = GCREditBalance | GCREditNonce | GCREditAssign | GCREditAssignIdentity | GCREditSubnetsTx | GCREditIdentity | GCREditSmartContract | GCREditStorageProgram | GCREditEscrow;
135
+ /**
136
+ * TLSNotary attestation storage GCR edit
137
+ */
138
+ export interface GCREditTLSNotary {
139
+ type: "tlsnotary";
140
+ operation: "store";
141
+ account: string;
142
+ data: {
143
+ tokenId: string;
144
+ domain: string;
145
+ proof: string;
146
+ storageType: "onchain" | "ipfs";
147
+ timestamp: number;
148
+ };
149
+ txhash: string;
150
+ isRollback: boolean;
151
+ }
152
+ export type GCREdit = GCREditBalance | GCREditNonce | GCREditAssign | GCREditAssignIdentity | GCREditSubnetsTx | GCREditIdentity | GCREditSmartContract | GCREditStorageProgram | GCREditEscrow | GCREditTLSNotary;
@@ -6,5 +6,9 @@ interface INativeTlsnRequest {
6
6
  nativeOperation: "tlsn_request";
7
7
  args: [string];
8
8
  }
9
- export type INativePayload = INativeSend | INativeTlsnRequest;
9
+ interface INativeTlsnStore {
10
+ nativeOperation: "tlsn_store";
11
+ args: [string, string, "onchain" | "ipfs"];
12
+ }
13
+ export type INativePayload = INativeSend | INativeTlsnRequest | INativeTlsnStore;
10
14
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kynesyslabs/demosdk",
3
- "version": "2.7.4",
3
+ "version": "2.7.5",
4
4
  "description": "Demosdk is a JavaScript/TypeScript SDK that provides a unified interface for interacting with Demos network",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",