@trustvc/trustvc 2.14.1 → 2.15.0-beta.1
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/eip7702-functions/deploy/index.js +19 -0
- package/dist/cjs/eip7702-functions/deploy/platform-paymaster.js +82 -0
- package/dist/cjs/eip7702-functions/deploy/token-registry.js +24 -0
- package/dist/cjs/eip7702-functions/index.js +26 -0
- package/dist/cjs/eip7702-functions/platform-paymaster-functions/admin.js +54 -0
- package/dist/cjs/eip7702-functions/platform-paymaster-functions/index.js +12 -0
- package/dist/cjs/eip7702-functions/token-registry-functions-gasless/index.js +33 -0
- package/dist/cjs/eip7702-functions/token-registry-functions-gasless/mint.js +32 -0
- package/dist/cjs/eip7702-functions/token-registry-functions-gasless/rejectTransfers.js +57 -0
- package/dist/cjs/eip7702-functions/token-registry-functions-gasless/returnToken.js +57 -0
- package/dist/cjs/eip7702-functions/token-registry-functions-gasless/transfer.js +77 -0
- package/dist/cjs/index.js +7 -0
- package/dist/esm/eip7702-functions/deploy/index.js +2 -0
- package/dist/esm/eip7702-functions/deploy/platform-paymaster.js +80 -0
- package/dist/esm/eip7702-functions/deploy/token-registry.js +22 -0
- package/dist/esm/eip7702-functions/index.js +3 -0
- package/dist/esm/eip7702-functions/platform-paymaster-functions/admin.js +44 -0
- package/dist/esm/eip7702-functions/platform-paymaster-functions/index.js +1 -0
- package/dist/esm/eip7702-functions/token-registry-functions-gasless/index.js +4 -0
- package/dist/esm/eip7702-functions/token-registry-functions-gasless/mint.js +30 -0
- package/dist/esm/eip7702-functions/token-registry-functions-gasless/rejectTransfers.js +53 -0
- package/dist/esm/eip7702-functions/token-registry-functions-gasless/returnToken.js +53 -0
- package/dist/esm/eip7702-functions/token-registry-functions-gasless/transfer.js +72 -0
- package/dist/esm/index.js +1 -0
- package/dist/types/eip7702-functions/deploy/index.d.ts +5 -0
- package/dist/types/eip7702-functions/deploy/platform-paymaster.d.ts +41 -0
- package/dist/types/eip7702-functions/deploy/token-registry.d.ts +34 -0
- package/dist/types/eip7702-functions/index.d.ts +14 -0
- package/dist/types/eip7702-functions/platform-paymaster-functions/admin.d.ts +82 -0
- package/dist/types/eip7702-functions/platform-paymaster-functions/index.d.ts +4 -0
- package/dist/types/eip7702-functions/token-registry-functions-gasless/index.d.ts +10 -0
- package/dist/types/eip7702-functions/token-registry-functions-gasless/mint.d.ts +35 -0
- package/dist/types/eip7702-functions/token-registry-functions-gasless/rejectTransfers.d.ts +46 -0
- package/dist/types/eip7702-functions/token-registry-functions-gasless/returnToken.d.ts +49 -0
- package/dist/types/eip7702-functions/token-registry-functions-gasless/transfer.d.ts +56 -0
- package/dist/types/index.d.ts +8 -0
- package/package.json +5 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -26,6 +26,13 @@ export { acceptReturned, rejectReturned, returnToIssuer } from './token-registry
|
|
|
26
26
|
export { mint } from './token-registry-functions/mint.js';
|
|
27
27
|
export { ownerOf } from './token-registry-functions/ownerOf.js';
|
|
28
28
|
export { DeployOptions, TransactionReceipt, deployTokenRegistry } from './deploy/token-registry.js';
|
|
29
|
+
export { MintGaslessOptions, mintGasless } from './eip7702-functions/token-registry-functions-gasless/mint.js';
|
|
30
|
+
export { rejectTransferBeneficiaryGasless, rejectTransferHolderGasless, rejectTransferOwnersGasless } from './eip7702-functions/token-registry-functions-gasless/rejectTransfers.js';
|
|
31
|
+
export { acceptReturnedGasless, rejectReturnedGasless, returnToIssuerGasless } from './eip7702-functions/token-registry-functions-gasless/returnToken.js';
|
|
32
|
+
export { nominateGasless, transferBeneficiaryGasless, transferHolderGasless, transferOwnersGasless } from './eip7702-functions/token-registry-functions-gasless/transfer.js';
|
|
33
|
+
export { DeployPlatformPaymasterOptions, DeployPlatformPaymasterResult, deployPlatformPaymaster } from './eip7702-functions/deploy/platform-paymaster.js';
|
|
34
|
+
export { DeployTokenRegistryGaslessOptions, deployTokenRegistryGasless } from './eip7702-functions/deploy/token-registry.js';
|
|
35
|
+
export { addAuthorizedCaller, addRegistry, addTitleEscrow, removeAuthorizedCaller, removeRegistry, removeTitleEscrow, removeUserFromWhitelist, setDailyLimit, setUserWhitelist } from './eip7702-functions/platform-paymaster-functions/admin.js';
|
|
29
36
|
export { decrypt } from './core/decrypt.js';
|
|
30
37
|
export { encrypt } from './core/encrypt.js';
|
|
31
38
|
export { verifyDocument } from './core/verify.js';
|
|
@@ -77,6 +84,7 @@ import '@tradetrust-tt/token-registry-v5/contracts';
|
|
|
77
84
|
import 'ethersV6';
|
|
78
85
|
import './document-store/types.js';
|
|
79
86
|
import './token-registry-functions/types.js';
|
|
87
|
+
import 'viem';
|
|
80
88
|
import '@ethersproject/abstract-provider';
|
|
81
89
|
import 'ethers/lib/utils';
|
|
82
90
|
import '@ethersproject/abstract-signer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trustvc/trustvc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0-beta.1",
|
|
4
4
|
"description": "TrustVC library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -122,6 +122,7 @@
|
|
|
122
122
|
"@tradetrust-tt/tradetrust": "^6.10.3",
|
|
123
123
|
"@tradetrust-tt/tt-verify": "^9.7.5",
|
|
124
124
|
"@trustvc/document-store": "^1.0.3",
|
|
125
|
+
"@trustvc/eip7702": "^1.0.0-beta.1",
|
|
125
126
|
"@trustvc/w3c": "^2.2.0",
|
|
126
127
|
"@trustvc/w3c-context": "^2.2.0",
|
|
127
128
|
"@trustvc/w3c-credential-status": "^2.2.0",
|
|
@@ -132,7 +133,9 @@
|
|
|
132
133
|
"js-sha3": "^0.9.3",
|
|
133
134
|
"node-fetch": "^2.7.0",
|
|
134
135
|
"node-forge": "^1.3.3",
|
|
135
|
-
"
|
|
136
|
+
"permissionless": "^0.3.6",
|
|
137
|
+
"ts-chacha20": "^1.2.0",
|
|
138
|
+
"viem": "^2.53.1"
|
|
136
139
|
},
|
|
137
140
|
"devDependencies": {
|
|
138
141
|
"@commitlint/cli": "^19.8.0",
|