@bosonprotocol/core-sdk 1.47.0-alpha.3 → 1.47.0-alpha.5

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.
Files changed (37) hide show
  1. package/dist/cjs/meta-tx/handler.d.ts +192 -1
  2. package/dist/cjs/meta-tx/handler.d.ts.map +1 -1
  3. package/dist/cjs/meta-tx/handler.js +182 -29
  4. package/dist/cjs/meta-tx/handler.js.map +1 -1
  5. package/dist/cjs/meta-tx/mixin.d.ts +187 -30
  6. package/dist/cjs/meta-tx/mixin.d.ts.map +1 -1
  7. package/dist/cjs/meta-tx/mixin.js +161 -163
  8. package/dist/cjs/meta-tx/mixin.js.map +1 -1
  9. package/dist/cjs/native-meta-tx/handler.d.ts +16 -3
  10. package/dist/cjs/native-meta-tx/handler.d.ts.map +1 -1
  11. package/dist/cjs/native-meta-tx/handler.js +16 -5
  12. package/dist/cjs/native-meta-tx/handler.js.map +1 -1
  13. package/dist/cjs/native-meta-tx/mixin.d.ts +11 -3
  14. package/dist/cjs/native-meta-tx/mixin.d.ts.map +1 -1
  15. package/dist/cjs/native-meta-tx/mixin.js +7 -9
  16. package/dist/cjs/native-meta-tx/mixin.js.map +1 -1
  17. package/dist/esm/meta-tx/handler.d.ts +192 -1
  18. package/dist/esm/meta-tx/handler.d.ts.map +1 -1
  19. package/dist/esm/meta-tx/handler.js +244 -46
  20. package/dist/esm/meta-tx/handler.js.map +1 -1
  21. package/dist/esm/meta-tx/mixin.d.ts +187 -30
  22. package/dist/esm/meta-tx/mixin.d.ts.map +1 -1
  23. package/dist/esm/meta-tx/mixin.js +389 -163
  24. package/dist/esm/meta-tx/mixin.js.map +1 -1
  25. package/dist/esm/native-meta-tx/handler.d.ts +16 -3
  26. package/dist/esm/native-meta-tx/handler.d.ts.map +1 -1
  27. package/dist/esm/native-meta-tx/handler.js +26 -6
  28. package/dist/esm/native-meta-tx/handler.js.map +1 -1
  29. package/dist/esm/native-meta-tx/mixin.d.ts +11 -3
  30. package/dist/esm/native-meta-tx/mixin.d.ts.map +1 -1
  31. package/dist/esm/native-meta-tx/mixin.js +12 -8
  32. package/dist/esm/native-meta-tx/mixin.js.map +1 -1
  33. package/package.json +2 -2
  34. package/src/meta-tx/handler.ts +839 -91
  35. package/src/meta-tx/mixin.ts +858 -62
  36. package/src/native-meta-tx/handler.ts +68 -18
  37. package/src/native-meta-tx/mixin.ts +30 -4
@@ -16,37 +16,40 @@ const subgraph_1 = require("../offers/subgraph");
16
16
  const base_core_sdk_1 = require("./../mixins/base-core-sdk");
17
17
  const __1 = require("..");
18
18
  class MetaTxMixin extends base_core_sdk_1.BaseCoreSDK {
19
- /* -------------------------------------------------------------------------- */
20
- /* Meta Tx related methods */
21
- /* -------------------------------------------------------------------------- */
22
- /**
23
- * Encodes and signs a meta transaction that can be relayed.
24
- * @param args - Meta transaction args.
25
- * @returns Signature.
26
- */
19
+ // Implementation
27
20
  signMetaTx(args) {
28
21
  return __awaiter(this, void 0, void 0, function* () {
29
- return _1.handler.signMetaTx(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
22
+ if (args.returnTypedDataToSign) {
23
+ return _1.handler.signMetaTx(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
24
+ }
25
+ return _1.handler.signMetaTx(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
30
26
  });
31
27
  }
32
- /**
33
- * Encodes and signs a meta transaction for `createSeller` that can be relayed.
34
- * @param args - Meta transaction args.
35
- * @returns Signature.
36
- */
28
+ // Implementation
37
29
  signMetaTxCreateSeller(args) {
38
30
  return __awaiter(this, void 0, void 0, function* () {
39
- return _1.handler.signMetaTxCreateSeller(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
31
+ if (args.returnTypedDataToSign) {
32
+ return _1.handler.signMetaTxCreateSeller(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
33
+ }
34
+ return _1.handler.signMetaTxCreateSeller(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
40
35
  });
41
36
  }
37
+ // Implementation
42
38
  signMetaTxUpdateSeller(args) {
43
39
  return __awaiter(this, void 0, void 0, function* () {
44
- return _1.handler.signMetaTxUpdateSeller(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
40
+ if (args.returnTypedDataToSign) {
41
+ return _1.handler.signMetaTxUpdateSeller(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
42
+ }
43
+ return _1.handler.signMetaTxUpdateSeller(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
45
44
  });
46
45
  }
46
+ // Implementation
47
47
  signMetaTxOptInToSellerUpdate(args) {
48
48
  return __awaiter(this, void 0, void 0, function* () {
49
- return _1.handler.signMetaTxOptInToSellerUpdate(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
49
+ if (args.returnTypedDataToSign) {
50
+ return _1.handler.signMetaTxOptInToSellerUpdate(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
51
+ }
52
+ return _1.handler.signMetaTxOptInToSellerUpdate(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
50
53
  });
51
54
  }
52
55
  signMetaTxUpdateSellerAndOptIn(sellerUpdates) {
@@ -118,42 +121,45 @@ class MetaTxMixin extends base_core_sdk_1.BaseCoreSDK {
118
121
  return updateTx;
119
122
  });
120
123
  }
121
- /**
122
- * Encodes and signs a meta transaction for `createOffer` that can be relayed.
123
- * @param args - Meta transaction args.
124
- * @returns Signature.
125
- */
124
+ // Implementation
126
125
  signMetaTxCreateOffer(args) {
127
126
  return __awaiter(this, void 0, void 0, function* () {
128
- return _1.handler.signMetaTxCreateOffer(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
127
+ if (args.returnTypedDataToSign) {
128
+ return _1.handler.signMetaTxCreateOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
129
+ }
130
+ return _1.handler.signMetaTxCreateOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
129
131
  });
130
132
  }
131
- /**
132
- * Encodes and signs a meta transaction for `createOfferBatch` that can be relayed.
133
- * @param args - Meta transaction args.
134
- * @returns Signature.
135
- */
133
+ // Implementation
136
134
  signMetaTxCreateOfferBatch(args) {
137
135
  return __awaiter(this, void 0, void 0, function* () {
138
- return _1.handler.signMetaTxCreateOfferBatch(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
136
+ if (args.returnTypedDataToSign) {
137
+ return _1.handler.signMetaTxCreateOfferBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
138
+ }
139
+ return _1.handler.signMetaTxCreateOfferBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
139
140
  });
140
141
  }
141
- /**
142
- * Encodes and signs a meta transaction for `createGroup` that can be relayed.
143
- * @param args - Meta transaction args.
144
- * @returns Signature.
145
- */
142
+ // Implementation
146
143
  signMetaTxCreateGroup(args) {
147
144
  return __awaiter(this, void 0, void 0, function* () {
148
- return _1.handler.signMetaTxCreateGroup(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
145
+ if (args.returnTypedDataToSign) {
146
+ return _1.handler.signMetaTxCreateGroup(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
147
+ }
148
+ return _1.handler.signMetaTxCreateGroup(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
149
149
  });
150
150
  }
151
+ // Implementation
151
152
  signMetaTxReserveRange(args) {
152
153
  return __awaiter(this, void 0, void 0, function* () {
153
154
  const offer = yield (0, subgraph_1.getOfferById)(this._subgraphUrl, args.offerId);
155
+ if (args.returnTypedDataToSign) {
156
+ return _1.handler.signMetaTxReserveRange(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { to: args.to === "contract"
157
+ ? offer.seller.voucherCloneAddress
158
+ : offer.seller.assistant, returnTypedDataToSign: true }));
159
+ }
154
160
  return _1.handler.signMetaTxReserveRange(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { to: args.to === "contract"
155
161
  ? offer.seller.voucherCloneAddress
156
- : offer.seller.assistant }));
162
+ : offer.seller.assistant, returnTypedDataToSign: false }));
157
163
  });
158
164
  }
159
165
  signMetaTxPreMint(args_1) {
@@ -222,219 +228,211 @@ class MetaTxMixin extends base_core_sdk_1.BaseCoreSDK {
222
228
  });
223
229
  });
224
230
  }
225
- /**
226
- * Encodes and signs a meta transaction for `createOfferWithCondition` that can be relayed.
227
- * @param args - Meta transaction args.
228
- * @returns Signature.
229
- */
231
+ // Implementation
230
232
  signMetaTxCreateOfferWithCondition(args) {
231
233
  return __awaiter(this, void 0, void 0, function* () {
232
- return _1.handler.signMetaTxCreateOfferWithCondition(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
234
+ if (args.returnTypedDataToSign) {
235
+ return _1.handler.signMetaTxCreateOfferWithCondition(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
236
+ }
237
+ return _1.handler.signMetaTxCreateOfferWithCondition(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
233
238
  });
234
239
  }
235
- /**
236
- * Encodes and signs a meta transaction for `voidOffer` that can be relayed.
237
- * @param args - Meta transaction args.
238
- * @returns Signature.
239
- */
240
+ // Implementation
240
241
  signMetaTxVoidOffer(args) {
241
242
  return __awaiter(this, void 0, void 0, function* () {
242
- return _1.handler.signMetaTxVoidOffer(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
243
+ if (args.returnTypedDataToSign) {
244
+ return _1.handler.signMetaTxVoidOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
245
+ }
246
+ return _1.handler.signMetaTxVoidOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
243
247
  });
244
248
  }
245
- /**
246
- * Encodes and signs a meta transaction for `voidOfferBatch` that can be relayed.
247
- * @param args - Meta transaction args.
248
- * @returns Signature.
249
- */
249
+ // Implementation
250
250
  signMetaTxVoidOfferBatch(args) {
251
251
  return __awaiter(this, void 0, void 0, function* () {
252
- return _1.handler.signMetaTxVoidOfferBatch(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
252
+ if (args.returnTypedDataToSign) {
253
+ return _1.handler.signMetaTxVoidOfferBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
254
+ }
255
+ return _1.handler.signMetaTxVoidOfferBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
253
256
  });
254
257
  }
255
- /**
256
- * Encodes and signs a meta transaction for `extendOffer` that can be relayed.
257
- * @param args - Meta transaction args.
258
- * @returns Signature.
259
- */
258
+ // Implementation
260
259
  signMetaTxExtendOffer(args) {
261
260
  return __awaiter(this, void 0, void 0, function* () {
262
- return _1.handler.signMetaTxExtendOffer(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
261
+ if (args.returnTypedDataToSign) {
262
+ return _1.handler.signMetaTxExtendOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
263
+ }
264
+ return _1.handler.signMetaTxExtendOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
263
265
  });
264
266
  }
265
- /**
266
- * Encodes and signs a meta transaction for `extendOfferBatch` that can be relayed.
267
- * @param args - Meta transaction args.
268
- * @returns Signature.
269
- */
267
+ // Implementation
270
268
  signMetaTxExtendOfferBatch(args) {
271
269
  return __awaiter(this, void 0, void 0, function* () {
272
- return _1.handler.signMetaTxExtendOfferBatch(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
270
+ if (args.returnTypedDataToSign) {
271
+ return _1.handler.signMetaTxExtendOfferBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
272
+ }
273
+ return _1.handler.signMetaTxExtendOfferBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
273
274
  });
274
275
  }
275
- /**
276
- * Encodes and signs a meta transaction for `completeExchangeBatch` that can be relayed.
277
- * @param args - Meta transaction args.
278
- * @returns Signature.
279
- */
276
+ // Implementation
280
277
  signMetaTxCompleteExchange(args) {
281
278
  return __awaiter(this, void 0, void 0, function* () {
282
- return _1.handler.signMetaTxCompleteExchange(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
279
+ if (args.returnTypedDataToSign) {
280
+ return _1.handler.signMetaTxCompleteExchange(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
281
+ }
282
+ return _1.handler.signMetaTxCompleteExchange(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
283
283
  });
284
284
  }
285
- /**
286
- * Encodes and signs a meta transaction for `completeExchangeBatch` that can be relayed.
287
- * @param args - Meta transaction args.
288
- * @returns Signature.
289
- */
285
+ // Implementation
290
286
  signMetaTxCompleteExchangeBatch(args) {
291
287
  return __awaiter(this, void 0, void 0, function* () {
292
- return _1.handler.signMetaTxCompleteExchangeBatch(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
288
+ if (args.returnTypedDataToSign) {
289
+ return _1.handler.signMetaTxCompleteExchangeBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
290
+ }
291
+ return _1.handler.signMetaTxCompleteExchangeBatch(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
293
292
  });
294
293
  }
295
- /**
296
- * Encodes and signs a meta transaction for `commitToOffer` that can be relayed.
297
- * @param args - Meta transaction args.
298
- * @returns Signature.
299
- */
294
+ // Implementation
300
295
  signMetaTxCommitToOffer(args) {
301
296
  return __awaiter(this, void 0, void 0, function* () {
302
297
  const offer = yield (0, subgraph_1.getOfferById)(this._subgraphUrl, args.offerId);
303
298
  if (offer.condition) {
304
299
  // keep compatibility with previous version
305
- return this.signMetaTxCommitToConditionalOffer(Object.assign(Object.assign({}, args), { tokenId: offer.condition.minTokenId }));
300
+ // Using type assertion because TypeScript can't resolve overloads inside the implementation body
301
+ // when the args type comes from a complex Omit<Parameters<...>[0], ...> expression
302
+ const self = this;
303
+ const conditionalArgs = Object.assign(Object.assign({}, args), { tokenId: offer.condition.minTokenId });
304
+ return self.signMetaTxCommitToConditionalOffer(conditionalArgs);
306
305
  }
307
- return _1.handler.signMetaTxCommitToOffer(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
306
+ if (args.returnTypedDataToSign) {
307
+ return _1.handler.signMetaTxCommitToOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
308
+ }
309
+ return _1.handler.signMetaTxCommitToOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
308
310
  });
309
311
  }
310
- /**
311
- * Encodes and signs a meta transaction for `commitToConditionalOffer` that can be relayed.
312
- * @param args - Meta transaction args.
313
- * @returns Signature.
314
- */
312
+ // Implementation
315
313
  signMetaTxCommitToConditionalOffer(args) {
316
314
  return __awaiter(this, void 0, void 0, function* () {
317
- return _1.handler.signMetaTxCommitToConditionalOffer(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
315
+ if (args.returnTypedDataToSign) {
316
+ return _1.handler.signMetaTxCommitToConditionalOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
317
+ }
318
+ return _1.handler.signMetaTxCommitToConditionalOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
318
319
  });
319
320
  }
320
- /**
321
- * Encodes and signs a meta transaction for `commitToBuyerOffer` that can be relayed.
322
- * @param args - Meta transaction args.
323
- * @returns Signature.
324
- */
321
+ // Implementation
325
322
  signMetaTxCommitToBuyerOffer(args) {
326
323
  return __awaiter(this, void 0, void 0, function* () {
327
- return _1.handler.signMetaTxCommitToBuyerOffer(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
324
+ if (args.returnTypedDataToSign) {
325
+ return _1.handler.signMetaTxCommitToBuyerOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
326
+ }
327
+ return _1.handler.signMetaTxCommitToBuyerOffer(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
328
328
  });
329
329
  }
330
- /**
331
- * Encodes and signs a meta transaction for `cancelVoucher` that can be relayed.
332
- * @param args - Meta transaction args.
333
- * @returns Signature.
334
- */
330
+ // Implementation
331
+ signMetaTxCreateOfferAndCommit(args) {
332
+ return __awaiter(this, void 0, void 0, function* () {
333
+ if (args.returnTypedDataToSign) {
334
+ return _1.handler.signMetaTxCreateOfferAndCommit(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
335
+ }
336
+ return _1.handler.signMetaTxCreateOfferAndCommit(Object.assign(Object.assign({ web3Lib: this._web3Lib, theGraphStorage: this._theGraphStorage, metadataStorage: this._metadataStorage, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
337
+ });
338
+ }
339
+ // Implementation
335
340
  signMetaTxCancelVoucher(args) {
336
341
  return __awaiter(this, void 0, void 0, function* () {
337
- return _1.handler.signMetaTxCancelVoucher(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
342
+ if (args.returnTypedDataToSign) {
343
+ return _1.handler.signMetaTxCancelVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
344
+ }
345
+ return _1.handler.signMetaTxCancelVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
338
346
  });
339
347
  }
340
- /**
341
- * Encodes and signs a meta transaction for `redeemVoucher` that can be relayed.
342
- * @param args - Meta transaction args.
343
- * @returns Signature.
344
- */
348
+ // Implementation
345
349
  signMetaTxRedeemVoucher(args) {
346
350
  return __awaiter(this, void 0, void 0, function* () {
347
- return _1.handler.signMetaTxRedeemVoucher(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
351
+ if (args.returnTypedDataToSign) {
352
+ return _1.handler.signMetaTxRedeemVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
353
+ }
354
+ return _1.handler.signMetaTxRedeemVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
348
355
  });
349
356
  }
350
- /**
351
- * Encodes and signs a meta transaction for `expireVoucher` that can be relayed.
352
- * @param args - Meta transaction args.
353
- * @returns Signature.
354
- */
357
+ // Implementation
355
358
  signMetaTxExpireVoucher(args) {
356
359
  return __awaiter(this, void 0, void 0, function* () {
357
- return _1.handler.signMetaTxExpireVoucher(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
360
+ if (args.returnTypedDataToSign) {
361
+ return _1.handler.signMetaTxExpireVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
362
+ }
363
+ return _1.handler.signMetaTxExpireVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
358
364
  });
359
365
  }
360
- /**
361
- * Encodes and signs a meta transaction for `revokeVoucher` that can be relayed.
362
- * @param args - Meta transaction args.
363
- * @returns Signature.
364
- */
366
+ // Implementation
365
367
  signMetaTxRevokeVoucher(args) {
366
368
  return __awaiter(this, void 0, void 0, function* () {
367
- return _1.handler.signMetaTxRevokeVoucher(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
369
+ if (args.returnTypedDataToSign) {
370
+ return _1.handler.signMetaTxRevokeVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
371
+ }
372
+ return _1.handler.signMetaTxRevokeVoucher(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
368
373
  });
369
374
  }
370
- /**
371
- * Encodes and signs a meta transaction for `retractDispute` that can be relayed.
372
- * @param args - Meta transaction args.
373
- * @returns Signature.
374
- */
375
+ // Implementation
375
376
  signMetaTxRetractDispute(args) {
376
377
  return __awaiter(this, void 0, void 0, function* () {
377
- return _1.handler.signMetaTxRetractDispute(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
378
+ if (args.returnTypedDataToSign) {
379
+ return _1.handler.signMetaTxRetractDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
380
+ }
381
+ return _1.handler.signMetaTxRetractDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
378
382
  });
379
383
  }
380
- /**
381
- * Encodes and signs a meta transaction for `escalateDispute` that can be relayed.
382
- * @param args - Meta transaction args.
383
- * @returns Signature.
384
- */
384
+ // Implementation
385
385
  signMetaTxEscalateDispute(args) {
386
386
  return __awaiter(this, void 0, void 0, function* () {
387
- return _1.handler.signMetaTxEscalateDispute(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
387
+ if (args.returnTypedDataToSign) {
388
+ return _1.handler.signMetaTxEscalateDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
389
+ }
390
+ return _1.handler.signMetaTxEscalateDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
388
391
  });
389
392
  }
390
- /**
391
- * Encodes and signs a meta transaction for `raiseDispute` that can be relayed.
392
- * @param args - Meta transaction args.
393
- * @returns Signature.
394
- */
393
+ // Implementation
395
394
  signMetaTxRaiseDispute(args) {
396
395
  return __awaiter(this, void 0, void 0, function* () {
397
- return _1.handler.signMetaTxRaiseDispute(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
396
+ if (args.returnTypedDataToSign) {
397
+ return _1.handler.signMetaTxRaiseDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
398
+ }
399
+ return _1.handler.signMetaTxRaiseDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
398
400
  });
399
401
  }
400
- /**
401
- * Encodes and signs a meta transaction for `resolveDispute` that can be relayed.
402
- * @param args - Meta transaction args.
403
- * @returns Signature.
404
- */
402
+ // Implementation
405
403
  signMetaTxResolveDispute(args) {
406
404
  return __awaiter(this, void 0, void 0, function* () {
407
- return _1.handler.signMetaTxResolveDispute(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
405
+ if (args.returnTypedDataToSign) {
406
+ return _1.handler.signMetaTxResolveDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
407
+ }
408
+ return _1.handler.signMetaTxResolveDispute(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
408
409
  });
409
410
  }
410
- /**
411
- * Encodes and signs a meta transaction for `extendDisputeTimeout` that can be relayed.
412
- * @param args - Meta transaction args.
413
- * @returns Signature.
414
- */
411
+ // Implementation
415
412
  signMetaTxExtendDisputeTimeout(args) {
416
413
  return __awaiter(this, void 0, void 0, function* () {
417
- return _1.handler.signMetaTxExtendDisputeTimeout(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
414
+ if (args.returnTypedDataToSign) {
415
+ return _1.handler.signMetaTxExtendDisputeTimeout(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
416
+ }
417
+ return _1.handler.signMetaTxExtendDisputeTimeout(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
418
418
  });
419
419
  }
420
- /**
421
- * Encodes and signs a meta transaction for `withdrawFunds` that can be relayed.
422
- * @param args - Meta transaction args.
423
- * @returns Signature.
424
- */
420
+ // Implementation
425
421
  signMetaTxWithdrawFunds(args) {
426
422
  return __awaiter(this, void 0, void 0, function* () {
427
- return _1.handler.signMetaTxWithdrawFunds(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
423
+ if (args.returnTypedDataToSign) {
424
+ return _1.handler.signMetaTxWithdrawFunds(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
425
+ }
426
+ return _1.handler.signMetaTxWithdrawFunds(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
428
427
  });
429
428
  }
430
- /**
431
- * Encodes and signs a meta transaction for `depositFunds` that can be relayed.
432
- * @param args - Meta transaction args.
433
- * @returns Signature.
434
- */
429
+ // Implementation
435
430
  signMetaTxDepositFunds(args) {
436
431
  return __awaiter(this, void 0, void 0, function* () {
437
- return _1.handler.signMetaTxDepositFunds(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args));
432
+ if (args.returnTypedDataToSign) {
433
+ return _1.handler.signMetaTxDepositFunds(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: true }));
434
+ }
435
+ return _1.handler.signMetaTxDepositFunds(Object.assign(Object.assign({ web3Lib: this._web3Lib, metaTxHandlerAddress: this._protocolDiamond, chainId: this._chainId }, args), { returnTypedDataToSign: false }));
438
436
  });
439
437
  }
440
438
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"mixin.js","sourceRoot":"","sources":["../../../src/meta-tx/mixin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAK+B;AAG/B,wBAA4B;AAC5B,iDAAkD;AAClD,6DAAwD;AAExD,0BAA8B;AAG9B,MAAa,WAAsC,SAAQ,2BAAc;IACvE,gFAAgF;IAChF,gFAAgF;IAChF,gFAAgF;IAEhF;;;;O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E,WAAW;wBAClB,MAAM,EAAE,YAAY;qBACrB;oBACD,YAAY,EAAE,kBAAkB;iBACjC;aACF,CAAC,CAAC;QACL,CAAC;KAAA;CACF;AA3rDD,kCA2rDC"}
@@ -1,27 +1,39 @@
1
1
  import { MetaTxConfig, Web3LibAdapter, TransactionResponse } from "@bosonprotocol/common";
2
2
  import { BigNumberish } from "@ethersproject/bignumber";
3
3
  import { BytesLike } from "@ethersproject/bytes";
4
- import { BaseMetaTxArgs, SignedMetaTx } from "../meta-tx/handler";
4
+ import { BaseMetaTxArgs, SignedMetaTx, UnsignedMetaTx } from "../meta-tx/handler";
5
5
  export declare function getNonce(args: {
6
6
  contractAddress: string;
7
7
  user: string;
8
8
  web3Lib: Web3LibAdapter;
9
9
  }): Promise<string>;
10
- export declare function signNativeMetaTx(args: BaseMetaTxArgs & {
10
+ type NativeMetaTxArgs = BaseMetaTxArgs & {
11
11
  functionName: string;
12
12
  functionSignature: string;
13
13
  domain: {
14
14
  name: string;
15
15
  version: string;
16
16
  };
17
+ };
18
+ export declare function signNativeMetaTx(args: NativeMetaTxArgs & {
19
+ returnTypedDataToSign: true;
20
+ }): Promise<UnsignedMetaTx>;
21
+ export declare function signNativeMetaTx(args: NativeMetaTxArgs & {
22
+ returnTypedDataToSign?: false | undefined;
17
23
  }): Promise<SignedMetaTx>;
18
- export declare function signNativeMetaTxApproveExchangeToken(args: {
24
+ type ApproveExchangeTokenBaseArgs = {
19
25
  web3Lib: Web3LibAdapter;
20
26
  chainId: number;
21
27
  user: string;
22
28
  exchangeToken: string;
23
29
  spender: string;
24
30
  value: BigNumberish;
31
+ };
32
+ export declare function signNativeMetaTxApproveExchangeToken(args: ApproveExchangeTokenBaseArgs & {
33
+ returnTypedDataToSign: true;
34
+ }): Promise<UnsignedMetaTx>;
35
+ export declare function signNativeMetaTxApproveExchangeToken(args: ApproveExchangeTokenBaseArgs & {
36
+ returnTypedDataToSign?: false | undefined;
25
37
  }): Promise<SignedMetaTx>;
26
38
  export declare function relayNativeMetaTransaction(args: {
27
39
  web3LibAdapter: Web3LibAdapter;
@@ -40,4 +52,5 @@ export declare function relayNativeMetaTransaction(args: {
40
52
  };
41
53
  };
42
54
  }): Promise<TransactionResponse>;
55
+ export {};
43
56
  //# sourceMappingURL=handler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/native-meta-tx/handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAa,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAWlE,wBAAsB,QAAQ,CAAC,IAAI,EAAE;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,cAAc,CAAC;CACzB,GAAG,OAAO,CAAC,MAAM,CAAC,CA4BlB;AAED,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,cAAc,GAAG;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,GACA,OAAO,CAAC,YAAY,CAAC,CAkCvB;AAED,wBAAsB,oCAAoC,CAAC,IAAI,EAAE;IAC/D,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC;CACrB,yBA6BA;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE;IACrD,cAAc,EAAE,cAAc,C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