@getpara/shared 1.11.0 → 1.12.0
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.
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/pending-transaction.js +2 -0
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/pending-transaction.js +1 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/pending-transaction.d.ts +56 -0
- package/dist/types/types/pending-transaction.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/cjs/types/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./assets.js"), exports);
|
|
|
18
18
|
__exportStar(require("./auth.js"), exports);
|
|
19
19
|
__exportStar(require("./params.js"), exports);
|
|
20
20
|
__exportStar(require("./partner.js"), exports);
|
|
21
|
+
__exportStar(require("./pending-transaction.js"), exports);
|
|
21
22
|
__exportStar(require("./theme.js"), exports);
|
|
22
23
|
__exportStar(require("./transaction.js"), exports);
|
|
23
24
|
__exportStar(require("./wallet.js"), exports);
|
package/dist/esm/types/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PartnerEntity } from './partner';
|
|
2
|
+
export interface PendingTransactionEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
walletId: string;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
chainId?: string;
|
|
8
|
+
rlpEncodedTxBase64?: string;
|
|
9
|
+
messageBase64?: string;
|
|
10
|
+
cosmosSignDocBase64?: string;
|
|
11
|
+
approvedAt?: string;
|
|
12
|
+
signedAt?: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* JSON-serialized EVM transaction (from SupportedTransaction.toJSON()).
|
|
18
|
+
* Matches JsonTx from @ethereumjs/tx — all BigInt fields become hex strings.
|
|
19
|
+
*/
|
|
20
|
+
export interface SerializedDecodedTx {
|
|
21
|
+
nonce?: string;
|
|
22
|
+
gasPrice?: string;
|
|
23
|
+
gasLimit?: string;
|
|
24
|
+
to?: string;
|
|
25
|
+
data?: string;
|
|
26
|
+
v?: string;
|
|
27
|
+
r?: string;
|
|
28
|
+
s?: string;
|
|
29
|
+
value?: string;
|
|
30
|
+
chainId?: string;
|
|
31
|
+
accessList?: {
|
|
32
|
+
address: string;
|
|
33
|
+
storageKeys: string[];
|
|
34
|
+
}[];
|
|
35
|
+
type?: string;
|
|
36
|
+
maxPriorityFeePerGas?: string;
|
|
37
|
+
maxFeePerGas?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* JSON-serialized ethers TransactionDescription (BigInts → strings via safeObject).
|
|
41
|
+
* Produced by ethers Interface.parseTransaction().
|
|
42
|
+
*/
|
|
43
|
+
export interface SerializedTxData {
|
|
44
|
+
name: string;
|
|
45
|
+
args: unknown[];
|
|
46
|
+
signature: string;
|
|
47
|
+
selector: string;
|
|
48
|
+
value: string;
|
|
49
|
+
}
|
|
50
|
+
export interface GetPendingTransactionResponse {
|
|
51
|
+
pendingTransaction: PendingTransactionEntity;
|
|
52
|
+
decodedTx?: SerializedDecodedTx;
|
|
53
|
+
txData?: SerializedTxData | string;
|
|
54
|
+
partner: PartnerEntity;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=pending-transaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-transaction.d.ts","sourceRoot":"","sources":["../../../src/types/pending-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC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