@thirdweb-dev/service-utils 0.4.30 → 0.4.31-nightly-73af67aad1f0b3f8d93ad6b38975770e8aed6208-20240608032553
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/cf-worker/dist/thirdweb-dev-service-utils-cf-worker.cjs.dev.js +6 -6
- package/cf-worker/dist/thirdweb-dev-service-utils-cf-worker.cjs.prod.js +6 -6
- package/cf-worker/dist/thirdweb-dev-service-utils-cf-worker.esm.js +3 -3
- package/dist/client-43ffd386.cjs.prod.js +203 -0
- package/dist/client-8a85ab05.esm.js +195 -0
- package/dist/client-e805236b.cjs.dev.js +203 -0
- package/dist/declarations/src/core/authorize/client.d.ts +8 -0
- package/dist/declarations/src/core/authorize/client.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +1 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/node/index.d.ts +2 -3
- package/dist/declarations/src/node/index.d.ts.map +1 -1
- package/dist/{index-1fdaaa60.cjs.dev.js → index-0d9dbeb2.cjs.dev.js} +3 -111
- package/dist/{index-1216f784.esm.js → index-8cff5ac3.esm.js} +2 -110
- package/dist/{index-9b21f405.cjs.prod.js → index-fecf7702.cjs.prod.js} +3 -111
- package/dist/thirdweb-dev-service-utils.cjs.dev.js +7 -5
- package/dist/thirdweb-dev-service-utils.cjs.prod.js +7 -5
- package/dist/thirdweb-dev-service-utils.esm.js +1 -1
- package/node/dist/thirdweb-dev-service-utils-node.cjs.dev.js +6 -6
- package/node/dist/thirdweb-dev-service-utils-node.cjs.prod.js +6 -6
- package/node/dist/thirdweb-dev-service-utils-node.esm.js +3 -3
- package/package.json +1 -1
- package/dist/services-5ebf68d5.esm.js +0 -65
- package/dist/services-628562db.cjs.prod.js +0 -70
- package/dist/services-97e0f9a0.cjs.dev.js +0 -70
@@ -1,70 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
const SERVICE_DEFINITIONS = {
|
4
|
-
storage: {
|
5
|
-
name: "storage",
|
6
|
-
title: "Storage",
|
7
|
-
description: "IPFS Upload and Download",
|
8
|
-
actions: [{
|
9
|
-
name: "read",
|
10
|
-
title: "Download",
|
11
|
-
description: "Download a file from Storage"
|
12
|
-
}, {
|
13
|
-
name: "write",
|
14
|
-
title: "Upload",
|
15
|
-
description: "Upload a file to Storage"
|
16
|
-
}]
|
17
|
-
},
|
18
|
-
rpc: {
|
19
|
-
name: "rpc",
|
20
|
-
title: "RPC",
|
21
|
-
description: "Accelerated RPC Edge",
|
22
|
-
// all actions allowed
|
23
|
-
actions: []
|
24
|
-
},
|
25
|
-
bundler: {
|
26
|
-
name: "bundler",
|
27
|
-
title: "Account Abstraction",
|
28
|
-
description: "Bundler & Paymaster services",
|
29
|
-
// all actions allowed
|
30
|
-
actions: []
|
31
|
-
},
|
32
|
-
relayer: {
|
33
|
-
name: "relayer",
|
34
|
-
title: "Gasless Relayer",
|
35
|
-
description: "Enable gasless transactions",
|
36
|
-
// all actions allowed
|
37
|
-
actions: []
|
38
|
-
},
|
39
|
-
embeddedWallets: {
|
40
|
-
name: "embeddedWallets",
|
41
|
-
title: "In-App Wallets",
|
42
|
-
description: "E-mail and social login wallets for easy web3 onboarding",
|
43
|
-
// all actions allowed
|
44
|
-
actions: []
|
45
|
-
},
|
46
|
-
checkout: {
|
47
|
-
name: "checkout",
|
48
|
-
title: "Checkouts",
|
49
|
-
description: "NFT Checkouts for easy web3 onboarding",
|
50
|
-
// all actions allowed
|
51
|
-
actions: []
|
52
|
-
},
|
53
|
-
pay: {
|
54
|
-
name: "pay",
|
55
|
-
title: "Pay",
|
56
|
-
description: "Pay for a blockchain transaction with any currency",
|
57
|
-
// all actions allowed
|
58
|
-
actions: []
|
59
|
-
}
|
60
|
-
};
|
61
|
-
const SERVICE_NAMES = Object.keys(SERVICE_DEFINITIONS);
|
62
|
-
const SERVICES = Object.values(SERVICE_DEFINITIONS);
|
63
|
-
function getServiceByName(name) {
|
64
|
-
return SERVICE_DEFINITIONS[name];
|
65
|
-
}
|
66
|
-
|
67
|
-
exports.SERVICES = SERVICES;
|
68
|
-
exports.SERVICE_DEFINITIONS = SERVICE_DEFINITIONS;
|
69
|
-
exports.SERVICE_NAMES = SERVICE_NAMES;
|
70
|
-
exports.getServiceByName = getServiceByName;
|