@kynesyslabs/demosdk 2.7.3 → 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
|
-
|
|
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;
|
|
@@ -2,5 +2,13 @@ interface INativeSend {
|
|
|
2
2
|
nativeOperation: "send";
|
|
3
3
|
args: [string, number];
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
interface INativeTlsnRequest {
|
|
6
|
+
nativeOperation: "tlsn_request";
|
|
7
|
+
args: [string];
|
|
8
|
+
}
|
|
9
|
+
interface INativeTlsnStore {
|
|
10
|
+
nativeOperation: "tlsn_store";
|
|
11
|
+
args: [string, string, "onchain" | "ipfs"];
|
|
12
|
+
}
|
|
13
|
+
export type INativePayload = INativeSend | INativeTlsnRequest | INativeTlsnStore;
|
|
6
14
|
export {};
|
package/package.json
CHANGED