@portal-hq/utils 4.2.12 → 4.3.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/lib/commonjs/events/index.js +8 -0
- package/lib/commonjs/version/version.json +1 -1
- package/lib/esm/events/index.js +8 -0
- package/lib/esm/version/version.json +1 -1
- package/package.json +2 -2
- package/src/definitions/index.ts +11 -0
- package/src/events/index.ts +10 -0
- package/src/version/version.json +1 -1
|
@@ -54,5 +54,13 @@ var Events;
|
|
|
54
54
|
Events["BlockaidScanAddress"] = "Blockaid Scan Address";
|
|
55
55
|
Events["BlockaidScanTokens"] = "Blockaid Scan Tokens";
|
|
56
56
|
Events["BlockaidScanURL"] = "Blockaid Scan URL";
|
|
57
|
+
Events["DelegationsApprove"] = "Delegations Approve";
|
|
58
|
+
Events["DelegationsRevoke"] = "Delegations Revoke";
|
|
59
|
+
Events["DelegationsStatus"] = "Delegations Status";
|
|
60
|
+
Events["DelegationsTransferFrom"] = "Delegations TransferFrom";
|
|
61
|
+
Events["EvmAccountType7702GetStatus"] = "Evm Account Type 7702 GetStatus";
|
|
62
|
+
Events["EvmAccountType7702BuildAuthorizationList"] = "Evm Account Type 7702 BuildAuthorizationList";
|
|
63
|
+
Events["EvmAccountType7702BuildUpgradeTx"] = "Evm Account Type 7702 BuildUpgradeTx";
|
|
64
|
+
Events["EvmAccountType7702Upgrade"] = "Evm Account Type 7702 Upgrade";
|
|
57
65
|
})(Events || (Events = {}));
|
|
58
66
|
exports.default = Events;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "4.
|
|
1
|
+
{ "version": "4.3.0" }
|
package/lib/esm/events/index.js
CHANGED
|
@@ -52,5 +52,13 @@ var Events;
|
|
|
52
52
|
Events["BlockaidScanAddress"] = "Blockaid Scan Address";
|
|
53
53
|
Events["BlockaidScanTokens"] = "Blockaid Scan Tokens";
|
|
54
54
|
Events["BlockaidScanURL"] = "Blockaid Scan URL";
|
|
55
|
+
Events["DelegationsApprove"] = "Delegations Approve";
|
|
56
|
+
Events["DelegationsRevoke"] = "Delegations Revoke";
|
|
57
|
+
Events["DelegationsStatus"] = "Delegations Status";
|
|
58
|
+
Events["DelegationsTransferFrom"] = "Delegations TransferFrom";
|
|
59
|
+
Events["EvmAccountType7702GetStatus"] = "Evm Account Type 7702 GetStatus";
|
|
60
|
+
Events["EvmAccountType7702BuildAuthorizationList"] = "Evm Account Type 7702 BuildAuthorizationList";
|
|
61
|
+
Events["EvmAccountType7702BuildUpgradeTx"] = "Evm Account Type 7702 BuildUpgradeTx";
|
|
62
|
+
Events["EvmAccountType7702Upgrade"] = "Evm Account Type 7702 Upgrade";
|
|
55
63
|
})(Events || (Events = {}));
|
|
56
64
|
export default Events;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "4.
|
|
1
|
+
{ "version": "4.3.0" }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portal-hq/utils",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"main": "lib/commonjs/index",
|
|
5
5
|
"module": "lib/esm/index",
|
|
6
6
|
"source": "src/index",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"ts-jest": "^29.0.3",
|
|
27
27
|
"typescript": "^4.8.4"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "c335b8b1ce9788ff39b54ba8e5136e731e6e9eb1"
|
|
30
30
|
}
|
package/src/definitions/index.ts
CHANGED
|
@@ -311,6 +311,17 @@ export interface IPortalApi {
|
|
|
311
311
|
chainId: string,
|
|
312
312
|
params: BroadcastParam,
|
|
313
313
|
): Promise<BroadcastBitcoinP2wpkhTransactionResponse>
|
|
314
|
+
rawSign?(
|
|
315
|
+
message: string,
|
|
316
|
+
chainId?: string,
|
|
317
|
+
options?: RawSignOptions,
|
|
318
|
+
): Promise<string>
|
|
319
|
+
request?(
|
|
320
|
+
method: PortalRequestMethod,
|
|
321
|
+
params: unknown[],
|
|
322
|
+
chainId?: string,
|
|
323
|
+
options?: RequestOptions,
|
|
324
|
+
): Promise<any>
|
|
314
325
|
}
|
|
315
326
|
|
|
316
327
|
export interface IPortalConnect {
|
package/src/events/index.ts
CHANGED
|
@@ -55,6 +55,16 @@ enum Events {
|
|
|
55
55
|
BlockaidScanAddress = 'Blockaid Scan Address',
|
|
56
56
|
BlockaidScanTokens = 'Blockaid Scan Tokens',
|
|
57
57
|
BlockaidScanURL = 'Blockaid Scan URL',
|
|
58
|
+
|
|
59
|
+
DelegationsApprove = 'Delegations Approve',
|
|
60
|
+
DelegationsRevoke = 'Delegations Revoke',
|
|
61
|
+
DelegationsStatus = 'Delegations Status',
|
|
62
|
+
DelegationsTransferFrom = 'Delegations TransferFrom',
|
|
63
|
+
|
|
64
|
+
EvmAccountType7702GetStatus = 'Evm Account Type 7702 GetStatus',
|
|
65
|
+
EvmAccountType7702BuildAuthorizationList = 'Evm Account Type 7702 BuildAuthorizationList',
|
|
66
|
+
EvmAccountType7702BuildUpgradeTx = 'Evm Account Type 7702 BuildUpgradeTx',
|
|
67
|
+
EvmAccountType7702Upgrade = 'Evm Account Type 7702 Upgrade',
|
|
58
68
|
}
|
|
59
69
|
|
|
60
70
|
export default Events
|
package/src/version/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "4.
|
|
1
|
+
{ "version": "4.3.0" }
|