@thirdweb-dev/service-utils 0.0.0-dev-460af98-20240220164932 → 0.0.0-dev-a83e6cba8ef8abd9eb714c6bf4416a429fa356f5-20240318221717

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.
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../../dist/index-62b88cac.cjs.dev.js');
5
+ var index = require('../../dist/index-654b0c0c.cjs.dev.js');
6
6
  var aws4fetch = require('aws4fetch');
7
7
  var zod = require('zod');
8
- var services = require('../../dist/services-fc5281fe.cjs.dev.js');
8
+ var services = require('../../dist/services-33df3ac8.cjs.dev.js');
9
9
 
10
10
  // Initialize a singleton for aws usage.
11
11
  let _aws;
@@ -20,7 +20,7 @@ function getAws(options) {
20
20
  * Types
21
21
  */
22
22
  const usageEventSchema = zod.z.object({
23
- source: zod.z.enum(["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine"]),
23
+ source: zod.z.enum(["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine", "pay"]),
24
24
  action: zod.z.string(),
25
25
  /**
26
26
  * The following fields are optional.
@@ -59,7 +59,11 @@ const usageEventSchema = zod.z.object({
59
59
  policyId: zod.z.string().optional(),
60
60
  msSinceQueue: zod.z.number().nonnegative().optional(),
61
61
  msSinceSend: zod.z.number().nonnegative().optional(),
62
- msTotalDuration: zod.z.number().nonnegative().optional()
62
+ msTotalDuration: zod.z.number().nonnegative().optional(),
63
+ swapId: zod.z.string().optional(),
64
+ tokenAddress: zod.z.string().optional(),
65
+ amountWei: zod.z.string().optional(),
66
+ amountUSDCents: zod.z.number().nonnegative().optional()
63
67
  });
64
68
  /**
65
69
  * Publish usage events. Provide the relevant fields for your application.
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../../dist/index-aa324361.cjs.prod.js');
5
+ var index = require('../../dist/index-5d77a48b.cjs.prod.js');
6
6
  var aws4fetch = require('aws4fetch');
7
7
  var zod = require('zod');
8
- var services = require('../../dist/services-eefefe75.cjs.prod.js');
8
+ var services = require('../../dist/services-e83da8ae.cjs.prod.js');
9
9
 
10
10
  // Initialize a singleton for aws usage.
11
11
  let _aws;
@@ -20,7 +20,7 @@ function getAws(options) {
20
20
  * Types
21
21
  */
22
22
  const usageEventSchema = zod.z.object({
23
- source: zod.z.enum(["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine"]),
23
+ source: zod.z.enum(["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine", "pay"]),
24
24
  action: zod.z.string(),
25
25
  /**
26
26
  * The following fields are optional.
@@ -59,7 +59,11 @@ const usageEventSchema = zod.z.object({
59
59
  policyId: zod.z.string().optional(),
60
60
  msSinceQueue: zod.z.number().nonnegative().optional(),
61
61
  msSinceSend: zod.z.number().nonnegative().optional(),
62
- msTotalDuration: zod.z.number().nonnegative().optional()
62
+ msTotalDuration: zod.z.number().nonnegative().optional(),
63
+ swapId: zod.z.string().optional(),
64
+ tokenAddress: zod.z.string().optional(),
65
+ amountWei: zod.z.string().optional(),
66
+ amountUSDCents: zod.z.number().nonnegative().optional()
63
67
  });
64
68
  /**
65
69
  * Publish usage events. Provide the relevant fields for your application.
@@ -1,8 +1,8 @@
1
- import { a as authorize } from '../../dist/index-3b9a0743.esm.js';
2
- export { r as rateLimit, u as usageLimit } from '../../dist/index-3b9a0743.esm.js';
1
+ import { a as authorize } from '../../dist/index-4aff8737.esm.js';
2
+ export { r as rateLimit, u as usageLimit } from '../../dist/index-4aff8737.esm.js';
3
3
  import { AwsClient } from 'aws4fetch';
4
4
  import { z } from 'zod';
5
- export { b as SERVICES, S as SERVICE_DEFINITIONS, a as SERVICE_NAMES, g as getServiceByName } from '../../dist/services-6d3ba811.esm.js';
5
+ export { b as SERVICES, S as SERVICE_DEFINITIONS, a as SERVICE_NAMES, g as getServiceByName } from '../../dist/services-2c86ab65.esm.js';
6
6
 
7
7
  // Initialize a singleton for aws usage.
8
8
  let _aws;
@@ -17,7 +17,7 @@ function getAws(options) {
17
17
  * Types
18
18
  */
19
19
  const usageEventSchema = z.object({
20
- source: z.enum(["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine"]),
20
+ source: z.enum(["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine", "pay"]),
21
21
  action: z.string(),
22
22
  /**
23
23
  * The following fields are optional.
@@ -56,7 +56,11 @@ const usageEventSchema = z.object({
56
56
  policyId: z.string().optional(),
57
57
  msSinceQueue: z.number().nonnegative().optional(),
58
58
  msSinceSend: z.number().nonnegative().optional(),
59
- msTotalDuration: z.number().nonnegative().optional()
59
+ msTotalDuration: z.number().nonnegative().optional(),
60
+ swapId: z.string().optional(),
61
+ tokenAddress: z.string().optional(),
62
+ amountWei: z.string().optional(),
63
+ amountUSDCents: z.number().nonnegative().optional()
60
64
  });
61
65
  /**
62
66
  * Publish usage events. Provide the relevant fields for your application.
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  * Types
4
4
  */
5
5
  declare const usageEventSchema: z.ZodObject<{
6
- source: z.ZodEnum<["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine"]>;
6
+ source: z.ZodEnum<["embeddedWallets", "rpc", "storage", "bundler", "paymaster", "relayer", "connectWallet", "checkout", "engine", "pay"]>;
7
7
  action: z.ZodString;
8
8
  /**
9
9
  * The following fields are optional.
@@ -42,8 +42,12 @@ declare const usageEventSchema: z.ZodObject<{
42
42
  msSinceQueue: z.ZodOptional<z.ZodNumber>;
43
43
  msSinceSend: z.ZodOptional<z.ZodNumber>;
44
44
  msTotalDuration: z.ZodOptional<z.ZodNumber>;
45
+ swapId: z.ZodOptional<z.ZodString>;
46
+ tokenAddress: z.ZodOptional<z.ZodString>;
47
+ amountWei: z.ZodOptional<z.ZodString>;
48
+ amountUSDCents: z.ZodOptional<z.ZodNumber>;
45
49
  }, "strip", z.ZodTypeAny, {
46
- source: "storage" | "rpc" | "bundler" | "relayer" | "embeddedWallets" | "checkout" | "paymaster" | "connectWallet" | "engine";
50
+ source: "storage" | "rpc" | "bundler" | "relayer" | "embeddedWallets" | "checkout" | "pay" | "paymaster" | "connectWallet" | "engine";
47
51
  action: string;
48
52
  accountId?: string | undefined;
49
53
  isClientEvent?: boolean | undefined;
@@ -79,8 +83,12 @@ declare const usageEventSchema: z.ZodObject<{
79
83
  msSinceQueue?: number | undefined;
80
84
  msSinceSend?: number | undefined;
81
85
  msTotalDuration?: number | undefined;
86
+ swapId?: string | undefined;
87
+ tokenAddress?: string | undefined;
88
+ amountWei?: string | undefined;
89
+ amountUSDCents?: number | undefined;
82
90
  }, {
83
- source: "storage" | "rpc" | "bundler" | "relayer" | "embeddedWallets" | "checkout" | "paymaster" | "connectWallet" | "engine";
91
+ source: "storage" | "rpc" | "bundler" | "relayer" | "embeddedWallets" | "checkout" | "pay" | "paymaster" | "connectWallet" | "engine";
84
92
  action: string;
85
93
  accountId?: string | undefined;
86
94
  isClientEvent?: boolean | undefined;
@@ -116,6 +124,10 @@ declare const usageEventSchema: z.ZodObject<{
116
124
  msSinceQueue?: number | undefined;
117
125
  msSinceSend?: number | undefined;
118
126
  msTotalDuration?: number | undefined;
127
+ swapId?: string | undefined;
128
+ tokenAddress?: string | undefined;
129
+ amountWei?: string | undefined;
130
+ amountUSDCents?: number | undefined;
119
131
  }>;
120
132
  export type UsageEvent = z.infer<typeof usageEventSchema>;
121
133
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"usage.d.ts","sourceRoot":"../../../../src/cf-worker","sources":["usage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;GAEG;AACH,QAAA,MAAM,gBAAgB;;;IAcpB;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCH,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;;;;;;;;;;;;GAaG;AACH,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,UAAU,EAAE,EACzB,MAAM,EAAE;IACN,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GACA,OAAO,CAAC,IAAI,CAAC,CAiCf"}
1
+ {"version":3,"file":"usage.d.ts","sourceRoot":"../../../../src/cf-worker","sources":["usage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;GAEG;AACH,QAAA,MAAM,gBAAgB;;;IAepB;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCH,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;;;;;;;;;;;;GAaG;AACH,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,UAAU,EAAE,EACzB,MAAM,EAAE;IACN,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GACA,OAAO,CAAC,IAAI,CAAC,CAiCf"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"../../../../../src/core/authorize","sources":["client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,0BAA0B,GAAG;IACvC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,wBAAgB,eAAe,CAC7B,WAAW,EAAE,0BAA0B,EACvC,UAAU,EAAE,cAAc,GACzB,mBAAmB,CA2GrB"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"../../../../../src/core/authorize","sources":["client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,0BAA0B,GAAG;IACvC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,wBAAgB,eAAe,CAC7B,WAAW,EAAE,0BAA0B,EACvC,UAAU,EAAE,cAAc,GACzB,mBAAmB,CAkHrB"}
@@ -21,7 +21,7 @@ export declare const SERVICE_DEFINITIONS: {
21
21
  };
22
22
  readonly bundler: {
23
23
  readonly name: "bundler";
24
- readonly title: "Smart Wallets";
24
+ readonly title: "Account Abstraction";
25
25
  readonly description: "Bundler & Paymaster services";
26
26
  readonly actions: readonly [];
27
27
  };
@@ -40,11 +40,17 @@ export declare const SERVICE_DEFINITIONS: {
40
40
  readonly checkout: {
41
41
  readonly name: "checkout";
42
42
  readonly title: "Checkouts";
43
- readonly description: "Payments for easy web3 onboarding";
43
+ readonly description: "NFT Checkouts for easy web3 onboarding";
44
+ readonly actions: readonly [];
45
+ };
46
+ readonly pay: {
47
+ readonly name: "pay";
48
+ readonly title: "Pay";
49
+ readonly description: "Pay for a blockchain transaction with any currency";
44
50
  readonly actions: readonly [];
45
51
  };
46
52
  };
47
- export declare const SERVICE_NAMES: ("storage" | "rpc" | "bundler" | "relayer" | "embeddedWallets" | "checkout")[];
53
+ export declare const SERVICE_NAMES: ("storage" | "rpc" | "bundler" | "relayer" | "embeddedWallets" | "checkout" | "pay")[];
48
54
  export declare const SERVICES: ({
49
55
  readonly name: "storage";
50
56
  readonly title: "Storage";
@@ -65,7 +71,7 @@ export declare const SERVICES: ({
65
71
  readonly actions: readonly [];
66
72
  } | {
67
73
  readonly name: "bundler";
68
- readonly title: "Smart Wallets";
74
+ readonly title: "Account Abstraction";
69
75
  readonly description: "Bundler & Paymaster services";
70
76
  readonly actions: readonly [];
71
77
  } | {
@@ -81,7 +87,12 @@ export declare const SERVICES: ({
81
87
  } | {
82
88
  readonly name: "checkout";
83
89
  readonly title: "Checkouts";
84
- readonly description: "Payments for easy web3 onboarding";
90
+ readonly description: "NFT Checkouts for easy web3 onboarding";
91
+ readonly actions: readonly [];
92
+ } | {
93
+ readonly name: "pay";
94
+ readonly title: "Pay";
95
+ readonly description: "Pay for a blockchain transaction with any currency";
85
96
  readonly actions: readonly [];
86
97
  })[];
87
98
  export type ServiceName = (typeof SERVICE_NAMES)[number];
@@ -111,7 +122,7 @@ export declare function getServiceByName(name: ServiceName): {
111
122
  readonly actions: readonly [];
112
123
  } | {
113
124
  readonly name: "bundler";
114
- readonly title: "Smart Wallets";
125
+ readonly title: "Account Abstraction";
115
126
  readonly description: "Bundler & Paymaster services";
116
127
  readonly actions: readonly [];
117
128
  } | {
@@ -127,7 +138,12 @@ export declare function getServiceByName(name: ServiceName): {
127
138
  } | {
128
139
  readonly name: "checkout";
129
140
  readonly title: "Checkouts";
130
- readonly description: "Payments for easy web3 onboarding";
141
+ readonly description: "NFT Checkouts for easy web3 onboarding";
142
+ readonly actions: readonly [];
143
+ } | {
144
+ readonly name: "pay";
145
+ readonly title: "Pay";
146
+ readonly description: "Pay for a blockchain transaction with any currency";
131
147
  readonly actions: readonly [];
132
148
  };
133
149
  //# sourceMappingURL=services.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"../../../../src/core","sources":["services.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDtB,CAAC;AAEX,eAAO,MAAM,aAAa,gFAEe,CAAC;AAE1C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAqC,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,OAAO,GACjB,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjD"}
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"../../../../src/core","sources":["services.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DtB,CAAC;AAEX,eAAO,MAAM,aAAa,wFAEe,CAAC;AAE1C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAqC,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,OAAO,GACjB,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjD"}
@@ -112,7 +112,10 @@ function authorizeClient(authOptions, apiKeyMeta) {
112
112
  if (origin) {
113
113
  if (
114
114
  // find matching domain, or if all domains allowed
115
- domains.find(d => {
115
+ // embedded-wallet.thirdweb(-dev).com is automatically allowed
116
+ // because the rpc is passed from user's domain to embedded-wallet.thirdweb.com iframe for use.
117
+ // Note this doesn't allow embedded-wallets from being used if it's disabled. The service check that runs after enforces that.
118
+ [...domains, "embedded-wallet.thirdweb.com", "embedded-wallet.thirdweb-dev.com"].find(d => {
116
119
  // if any domain is allowed, we'll return true
117
120
  if (d === "*") {
118
121
  return true;
@@ -114,7 +114,10 @@ function authorizeClient(authOptions, apiKeyMeta) {
114
114
  if (origin) {
115
115
  if (
116
116
  // find matching domain, or if all domains allowed
117
- domains.find(d => {
117
+ // embedded-wallet.thirdweb(-dev).com is automatically allowed
118
+ // because the rpc is passed from user's domain to embedded-wallet.thirdweb.com iframe for use.
119
+ // Note this doesn't allow embedded-wallets from being used if it's disabled. The service check that runs after enforces that.
120
+ [...domains, "embedded-wallet.thirdweb.com", "embedded-wallet.thirdweb-dev.com"].find(d => {
118
121
  // if any domain is allowed, we'll return true
119
122
  if (d === "*") {
120
123
  return true;
@@ -114,7 +114,10 @@ function authorizeClient(authOptions, apiKeyMeta) {
114
114
  if (origin) {
115
115
  if (
116
116
  // find matching domain, or if all domains allowed
117
- domains.find(d => {
117
+ // embedded-wallet.thirdweb(-dev).com is automatically allowed
118
+ // because the rpc is passed from user's domain to embedded-wallet.thirdweb.com iframe for use.
119
+ // Note this doesn't allow embedded-wallets from being used if it's disabled. The service check that runs after enforces that.
120
+ [...domains, "embedded-wallet.thirdweb.com", "embedded-wallet.thirdweb-dev.com"].find(d => {
118
121
  // if any domain is allowed, we'll return true
119
122
  if (d === "*") {
120
123
  return true;
@@ -22,7 +22,7 @@ const SERVICE_DEFINITIONS = {
22
22
  },
23
23
  bundler: {
24
24
  name: "bundler",
25
- title: "Smart Wallets",
25
+ title: "Account Abstraction",
26
26
  description: "Bundler & Paymaster services",
27
27
  // all actions allowed
28
28
  actions: []
@@ -44,7 +44,14 @@ const SERVICE_DEFINITIONS = {
44
44
  checkout: {
45
45
  name: "checkout",
46
46
  title: "Checkouts",
47
- description: "Payments for easy web3 onboarding",
47
+ description: "NFT Checkouts for easy web3 onboarding",
48
+ // all actions allowed
49
+ actions: []
50
+ },
51
+ pay: {
52
+ name: "pay",
53
+ title: "Pay",
54
+ description: "Pay for a blockchain transaction with any currency",
48
55
  // all actions allowed
49
56
  actions: []
50
57
  }
@@ -24,7 +24,7 @@ const SERVICE_DEFINITIONS = {
24
24
  },
25
25
  bundler: {
26
26
  name: "bundler",
27
- title: "Smart Wallets",
27
+ title: "Account Abstraction",
28
28
  description: "Bundler & Paymaster services",
29
29
  // all actions allowed
30
30
  actions: []
@@ -46,7 +46,14 @@ const SERVICE_DEFINITIONS = {
46
46
  checkout: {
47
47
  name: "checkout",
48
48
  title: "Checkouts",
49
- description: "Payments for easy web3 onboarding",
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",
50
57
  // all actions allowed
51
58
  actions: []
52
59
  }
@@ -24,7 +24,7 @@ const SERVICE_DEFINITIONS = {
24
24
  },
25
25
  bundler: {
26
26
  name: "bundler",
27
- title: "Smart Wallets",
27
+ title: "Account Abstraction",
28
28
  description: "Bundler & Paymaster services",
29
29
  // all actions allowed
30
30
  actions: []
@@ -46,7 +46,14 @@ const SERVICE_DEFINITIONS = {
46
46
  checkout: {
47
47
  name: "checkout",
48
48
  title: "Checkouts",
49
- description: "Payments for easy web3 onboarding",
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",
50
57
  // all actions allowed
51
58
  actions: []
52
59
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var services = require('./services-fc5281fe.cjs.dev.js');
5
+ var services = require('./services-33df3ac8.cjs.dev.js');
6
6
 
7
7
 
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var services = require('./services-eefefe75.cjs.prod.js');
5
+ var services = require('./services-e83da8ae.cjs.prod.js');
6
6
 
7
7
 
8
8
 
@@ -1 +1 @@
1
- export { b as SERVICES, S as SERVICE_DEFINITIONS, a as SERVICE_NAMES, g as getServiceByName } from './services-6d3ba811.esm.js';
1
+ export { b as SERVICES, S as SERVICE_DEFINITIONS, a as SERVICE_NAMES, g as getServiceByName } from './services-2c86ab65.esm.js';
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var node_crypto = require('node:crypto');
6
- var index = require('../../dist/index-62b88cac.cjs.dev.js');
7
- var services = require('../../dist/services-fc5281fe.cjs.dev.js');
6
+ var index = require('../../dist/index-654b0c0c.cjs.dev.js');
7
+ var services = require('../../dist/services-33df3ac8.cjs.dev.js');
8
8
 
9
9
  /**
10
10
  *
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var node_crypto = require('node:crypto');
6
- var index = require('../../dist/index-aa324361.cjs.prod.js');
7
- var services = require('../../dist/services-eefefe75.cjs.prod.js');
6
+ var index = require('../../dist/index-5d77a48b.cjs.prod.js');
7
+ var services = require('../../dist/services-e83da8ae.cjs.prod.js');
8
8
 
9
9
  /**
10
10
  *
@@ -1,7 +1,7 @@
1
1
  import { createHash } from 'node:crypto';
2
- import { a as authorize } from '../../dist/index-3b9a0743.esm.js';
3
- export { r as rateLimit, u as usageLimit } from '../../dist/index-3b9a0743.esm.js';
4
- export { b as SERVICES, S as SERVICE_DEFINITIONS, a as SERVICE_NAMES, g as getServiceByName } from '../../dist/services-6d3ba811.esm.js';
2
+ import { a as authorize } from '../../dist/index-4aff8737.esm.js';
3
+ export { r as rateLimit, u as usageLimit } from '../../dist/index-4aff8737.esm.js';
4
+ export { b as SERVICES, S as SERVICE_DEFINITIONS, a as SERVICE_NAMES, g as getServiceByName } from '../../dist/services-2c86ab65.esm.js';
5
5
 
6
6
  /**
7
7
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdweb-dev/service-utils",
3
- "version": "0.0.0-dev-460af98-20240220164932",
3
+ "version": "0.0.0-dev-a83e6cba8ef8abd9eb714c6bf4416a429fa356f5-20240318221717",
4
4
  "main": "dist/thirdweb-dev-service-utils.cjs.js",
5
5
  "module": "dist/thirdweb-dev-service-utils.esm.js",
6
6
  "exports": {