@thirdweb-dev/service-utils 0.4.18 → 0.4.19-nightly-4cf0aede0-20240308015938

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.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var index = require('../../dist/index-62b88cac.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-508322f3.cjs.dev.js');
9
9
 
10
10
  // Initialize a singleton for aws usage.
11
11
  let _aws;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var index = require('../../dist/index-aa324361.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-5c4d6977.cjs.prod.js');
9
9
 
10
10
  // Initialize a singleton for aws usage.
11
11
  let _aws;
@@ -2,7 +2,7 @@ import { a as authorize } from '../../dist/index-3b9a0743.esm.js';
2
2
  export { r as rateLimit, u as usageLimit } from '../../dist/index-3b9a0743.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-2aecbda8.esm.js';
6
6
 
7
7
  // Initialize a singleton for aws usage.
8
8
  let _aws;
@@ -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";
@@ -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];
@@ -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"}
@@ -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
  }
@@ -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
  }
@@ -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-508322f3.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-5c4d6977.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-2aecbda8.esm.js';
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var node_crypto = require('node:crypto');
6
6
  var index = require('../../dist/index-62b88cac.cjs.dev.js');
7
- var services = require('../../dist/services-fc5281fe.cjs.dev.js');
7
+ var services = require('../../dist/services-508322f3.cjs.dev.js');
8
8
 
9
9
  /**
10
10
  *
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var node_crypto = require('node:crypto');
6
6
  var index = require('../../dist/index-aa324361.cjs.prod.js');
7
- var services = require('../../dist/services-eefefe75.cjs.prod.js');
7
+ var services = require('../../dist/services-5c4d6977.cjs.prod.js');
8
8
 
9
9
  /**
10
10
  *
@@ -1,7 +1,7 @@
1
1
  import { createHash } from 'node:crypto';
2
2
  import { a as authorize } from '../../dist/index-3b9a0743.esm.js';
3
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';
4
+ export { b as SERVICES, S as SERVICE_DEFINITIONS, a as SERVICE_NAMES, g as getServiceByName } from '../../dist/services-2aecbda8.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.4.18",
3
+ "version": "0.4.19-nightly-4cf0aede0-20240308015938",
4
4
  "main": "dist/thirdweb-dev-service-utils.cjs.js",
5
5
  "module": "dist/thirdweb-dev-service-utils.esm.js",
6
6
  "exports": {