@taquito/tzip16 23.0.3 → 24.0.0-beta.0

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.
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.stringToBytes = exports.bytesToString = exports.VERSION = void 0;
17
+ exports.VERSION = void 0;
18
18
  /**
19
19
  * @packageDocumentation
20
20
  * @module @taquito/tzip16
@@ -34,11 +34,3 @@ __exportStar(require("./viewKind/michelson-storage-view"), exports);
34
34
  __exportStar(require("./viewKind/viewFactory"), exports);
35
35
  var version_1 = require("./version");
36
36
  Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return version_1.VERSION; } });
37
- /**
38
- * @deprecated `import { bytesToString, stringToBytes } from "@taquito/tzip16"` is deprecated in favor of
39
- * `import { bytesToString, stringToBytes } from "@taquito/utils"`
40
- *
41
- */
42
- var utils_1 = require("@taquito/utils");
43
- Object.defineProperty(exports, "bytesToString", { enumerable: true, get: function () { return utils_1.bytesToString; } });
44
- Object.defineProperty(exports, "stringToBytes", { enumerable: true, get: function () { return utils_1.stringToBytes; } });
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5
5
  exports.VERSION = {
6
- "commitHash": "42048d039f6d4345fc59d04b03650bcb8e27bb62",
7
- "version": "23.0.3"
6
+ "commitHash": "7912b77f57f943dff619383900bd46a7a593a244",
7
+ "version": "24.0.0-beta.0"
8
8
  };
@@ -1,7 +1,6 @@
1
1
  import { HttpBackend } from '@taquito/http-utils';
2
2
  import { Schema, ParameterSchema } from '@taquito/michelson-encoder';
3
3
  import { bytesToString } from '@taquito/utils';
4
- export { bytesToString, stringToBytes } from '@taquito/utils';
5
4
  import { TaquitoError, ParameterValidationError, TezosToolkitConfigError, InvalidViewParameterError } from '@taquito/core';
6
5
  export { InvalidViewParameterError } from '@taquito/core';
7
6
  import { validateAndExtractFailwith, ViewSimulationError, BigMapAbstraction } from '@taquito/taquito';
@@ -22,7 +21,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
21
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
22
  PERFORMANCE OF THIS SOFTWARE.
24
23
  ***************************************************************************** */
25
- /* global Reflect, Promise, SuppressedError, Symbol */
24
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
26
25
 
27
26
 
28
27
  function __awaiter(thisArg, _arguments, P, generator) {
@@ -680,8 +679,8 @@ class Tzip16Module {
680
679
 
681
680
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
682
681
  const VERSION = {
683
- "commitHash": "42048d039f6d4345fc59d04b03650bcb8e27bb62",
684
- "version": "23.0.3"
682
+ "commitHash": "7912b77f57f943dff619383900bd46a7a593a244",
683
+ "version": "24.0.0-beta.0"
685
684
  };
686
685
 
687
686
  export { BigMapContractMetadataNotFoundError, ContractMetadataNotFoundError, DEFAULT_HANDLERS, ForbiddenInstructionInViewCodeError, HttpHandler, InvalidContractMetadataError, InvalidContractMetadataTypeError, InvalidUriError, IpfsHttpHandler, MetadataProvider, MichelsonStorageView, NoParameterExpectedError, ProtocolNotSupportedError, TezosStorageHandler, Tzip16ContractAbstraction, Tzip16Module, UnconfiguredContractMetadataProviderError, UriNotFoundError, VERSION, ViewFactory, ViewImplementationType, calculateSHA256Hash, tzip16 };
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-tzip16.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taquito/http-utils'), require('@taquito/michelson-encoder'), require('@taquito/utils'), require('@taquito/core'), require('@taquito/taquito'), require('bignumber.js'), require('crypto-js')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', '@taquito/http-utils', '@taquito/michelson-encoder', '@taquito/utils', '@taquito/core', '@taquito/taquito', 'bignumber.js', 'crypto-js'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.taquitoTzip16 = {}, global.httpUtils, global.michelsonEncoder, global.utils, global.core, global.taquito, global.BigNumber, global.CryptoJS));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.taquitoTzip16 = {}, global.httpUtils, global.michelsonEncoder, global.taquitoUtils, global.taquitoCore, global.taquito, global.BigNumber, global.CryptoJS));
5
5
  })(this, (function (exports, httpUtils, michelsonEncoder, utils, core, taquito, BigNumber, CryptoJS) { 'use strict';
6
6
 
7
7
  /******************************************************************************
@@ -18,7 +18,7 @@
18
18
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
19
  PERFORMANCE OF THIS SOFTWARE.
20
20
  ***************************************************************************** */
21
- /* global Reflect, Promise, SuppressedError, Symbol */
21
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
22
22
 
23
23
 
24
24
  function __awaiter(thisArg, _arguments, P, generator) {
@@ -676,18 +676,10 @@
676
676
 
677
677
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
678
678
  const VERSION = {
679
- "commitHash": "42048d039f6d4345fc59d04b03650bcb8e27bb62",
680
- "version": "23.0.3"
679
+ "commitHash": "7912b77f57f943dff619383900bd46a7a593a244",
680
+ "version": "24.0.0-beta.0"
681
681
  };
682
682
 
683
- Object.defineProperty(exports, "bytesToString", {
684
- enumerable: true,
685
- get: function () { return utils.bytesToString; }
686
- });
687
- Object.defineProperty(exports, "stringToBytes", {
688
- enumerable: true,
689
- get: function () { return utils.stringToBytes; }
690
- });
691
683
  Object.defineProperty(exports, "InvalidViewParameterError", {
692
684
  enumerable: true,
693
685
  get: function () { return core.InvalidViewParameterError; }
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-tzip16.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;"}
@@ -16,9 +16,3 @@ export * from './viewKind/interface';
16
16
  export * from './viewKind/michelson-storage-view';
17
17
  export * from './viewKind/viewFactory';
18
18
  export { VERSION } from './version';
19
- /**
20
- * @deprecated `import { bytesToString, stringToBytes } from "@taquito/tzip16"` is deprecated in favor of
21
- * `import { bytesToString, stringToBytes } from "@taquito/utils"`
22
- *
23
- */
24
- export { bytesToString, stringToBytes } from '@taquito/utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/tzip16",
3
- "version": "23.0.3",
3
+ "version": "24.0.0-beta.0",
4
4
  "description": "Tzip16",
5
5
  "keywords": [
6
6
  "tezos",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "engines": {
27
- "node": ">=18"
27
+ "node": ">=20"
28
28
  },
29
29
  "scripts": {
30
30
  "lint": "eslint --ext .js,.ts .",
@@ -61,20 +61,21 @@
61
61
  ]
62
62
  },
63
63
  "dependencies": {
64
- "@taquito/core": "^23.0.3",
65
- "@taquito/http-utils": "^23.0.3",
66
- "@taquito/michelson-encoder": "^23.0.3",
67
- "@taquito/rpc": "^23.0.3",
68
- "@taquito/taquito": "^23.0.3",
69
- "@taquito/utils": "^23.0.3",
64
+ "@taquito/core": "^24.0.0-beta.0",
65
+ "@taquito/http-utils": "^24.0.0-beta.0",
66
+ "@taquito/michelson-encoder": "^24.0.0-beta.0",
67
+ "@taquito/rpc": "^24.0.0-beta.0",
68
+ "@taquito/taquito": "^24.0.0-beta.0",
69
+ "@taquito/utils": "^24.0.0-beta.0",
70
70
  "bignumber.js": "^9.1.2",
71
- "crypto-js": "^4.2.0"
71
+ "crypto-js": "^4.2.0",
72
+ "whatwg-url": "^15.1.0"
72
73
  },
73
74
  "devDependencies": {
74
75
  "@types/bluebird": "^3.5.42",
75
76
  "@types/crypto-js": "^4.2.2",
76
77
  "@types/jest": "^29.5.12",
77
- "@types/node": "^18",
78
+ "@types/node": "^20",
78
79
  "@types/ws": "^8.5.12",
79
80
  "@typescript-eslint/eslint-plugin": "^6.21.0",
80
81
  "@typescript-eslint/parser": "^6.21.0",
@@ -99,5 +100,5 @@
99
100
  "ts-toolbelt": "^9.6.0",
100
101
  "typescript": "~5.5.4"
101
102
  },
102
- "gitHead": "2abf349e97af45f11210b3121078b9d96699d5da"
103
+ "gitHead": "f212ea3edaf1fac34d738b5d00a9892ab7a3b721"
103
104
  }