@airgap/tezos 0.13.28-beta.1 → 0.13.28-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airgap/tezos",
3
- "version": "0.13.28-beta.1",
3
+ "version": "0.13.28-beta.3",
4
4
  "description": "The @airgap/tezos is a Tezos implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
5
5
  "keywords": [
6
6
  "airgap",
@@ -30,17 +30,18 @@
30
30
  },
31
31
  "author": "Papers AG <contact@papers.ch> (https://papers.ch)",
32
32
  "dependencies": {
33
- "@airgap/coinlib-core": "^0.13.28-beta.1",
34
- "@airgap/crypto": "^0.13.28-beta.1",
35
- "@airgap/module-kit": "^0.13.28-beta.1",
33
+ "@airgap/coinlib-core": "^0.13.28-beta.3",
34
+ "@airgap/crypto": "^0.13.28-beta.3",
35
+ "@airgap/module-kit": "^0.13.28-beta.3",
36
36
  "@airgap/sapling-wasm": "0.0.7",
37
- "@airgap/serializer": "^0.13.28-beta.1",
37
+ "@airgap/serializer": "^0.13.28-beta.3",
38
38
  "@stablelib/blake2b": "^1.0.1",
39
39
  "@stablelib/ed25519": "^1.0.3",
40
40
  "@stablelib/nacl": "^1.0.4",
41
41
  "@stablelib/random": "^1.0.2",
42
42
  "@stablelib/utf8": "^1.0.1",
43
- "@taquito/local-forging": "14.0.0",
43
+ "@taquito/local-forging": "20.0.1",
44
+ "@taquito/rpc": "20.0.1",
44
45
  "graphql": "^16.6.0",
45
46
  "graphql-request": "^5.1.0"
46
47
  },
@@ -38,7 +38,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TezosForger = void 0;
40
40
  var coinlib_core_1 = require("@airgap/coinlib-core");
41
- var taquito_local_forging_1 = require("@airgap/coinlib-core/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging");
41
+ // import { localForger } from '@airgap/coinlib-core/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging'
42
+ // import { ForgeParams } from '@airgap/coinlib-core/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/interface'
43
+ var local_forging_1 = require("@taquito/local-forging");
42
44
  var errors_1 = require("@airgap/coinlib-core/errors");
43
45
  var TezosForger = /** @class */ (function () {
44
46
  function TezosForger() {
@@ -46,7 +48,7 @@ var TezosForger = /** @class */ (function () {
46
48
  TezosForger.prototype.forgeOperation = function (wrappedOperation) {
47
49
  return __awaiter(this, void 0, void 0, function () {
48
50
  return __generator(this, function (_a) {
49
- return [2 /*return*/, taquito_local_forging_1.localForger.forge(wrappedOperation)];
51
+ return [2 /*return*/, local_forging_1.localForger.forge(wrappedOperation)];
50
52
  });
51
53
  });
52
54
  };
@@ -65,7 +67,7 @@ var TezosForger = /** @class */ (function () {
65
67
  throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.TEZOS, 'Not a valid signed transaction');
66
68
  }
67
69
  binaryWithoutSignature = type === 'signed' ? forged.substring(0, forged.length - 128) : forged;
68
- return [4 /*yield*/, taquito_local_forging_1.localForger.parse(binaryWithoutSignature)];
70
+ return [4 /*yield*/, local_forging_1.localForger.parse(binaryWithoutSignature)];
69
71
  case 1:
70
72
  unforged = _a.sent();
71
73
  return [2 /*return*/, {
@@ -1 +1 @@
1
- {"version":3,"file":"TezosForger.js","sourceRoot":"","sources":["../../../../../src/v1/utils/protocol/tezos/TezosForger.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAA6C;AAC7C,sKAA0J;AAE1J,sDAAqE;AAKrE;IAAA;IA2BA,CAAC;IA1Bc,oCAAc,GAA3B,UAA4B,gBAAuC;;;gBACjE,sBAAO,mCAAW,CAAC,KAAK,CAAC,gBAAuB,CAAC,EAAA;;;KAClD;IAEY,sCAAgB,GAA7B,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