@taquito/taquito 23.0.0-beta.1 → 23.0.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.
@@ -7251,8 +7251,8 @@
7251
7251
 
7252
7252
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
7253
7253
  const VERSION = {
7254
- "commitHash": "10b3de10de15ae68d47b1fca922d3129d2f79641",
7255
- "version": "23.0.0-beta.1"
7254
+ "commitHash": "9065acc1b41ec205a49e64b54ef89f50bafa6210",
7255
+ "version": "23.0.0"
7256
7256
  };
7257
7257
 
7258
7258
  /**
@@ -2,7 +2,7 @@ import { RpcClientInterface } from '@taquito/rpc';
2
2
  import { Protocols } from './constants';
3
3
  import { Forger } from '@taquito/local-forging';
4
4
  import { Injector } from './injector/interface';
5
- import { Signer } from './signer/interface';
5
+ import { Signer } from '@taquito/core';
6
6
  import { OperationFactory } from './wallet/operation-factory';
7
7
  import { RpcTzProvider } from './tz/rpc-tz-provider';
8
8
  import { RPCEstimateProvider } from './estimate/rpc-estimate-provider';
@@ -6,7 +6,7 @@ import { Estimate } from './estimate';
6
6
  export declare abstract class Provider {
7
7
  protected context: Context;
8
8
  get rpc(): RpcClientInterface;
9
- get signer(): import("./taquito").Signer;
9
+ get signer(): import("@taquito/core").Signer;
10
10
  constructor(context: Context);
11
11
  protected forge({ opOb: { branch, contents, protocol }, counter }: PreparedOperation): Promise<{
12
12
  opbytes: string;
@@ -1,4 +1,4 @@
1
- import { Signer } from './interface';
1
+ import { Signer } from '@taquito/core';
2
2
  /**
3
3
  * @description Default signer implementation which does nothing and produce invalid signature
4
4
  * @throw {@link UnconfiguredSignerError}
@@ -14,7 +14,7 @@ import { GlobalConstantsProvider } from './global-constants/interface-global-con
14
14
  import { Packer } from './packer/interface';
15
15
  import { TzReadProvider } from './read-provider/interface';
16
16
  import { PreparationProvider } from './prepare/interface';
17
- import { Signer } from './signer/interface';
17
+ import { Signer } from '@taquito/core';
18
18
  import { SubscribeProvider } from './subscribe/interface';
19
19
  import { TzProvider } from './tz/interface';
20
20
  import { Wallet, WalletProvider } from './wallet';
@@ -34,7 +34,7 @@ export { CompositeForger } from './forger/composite-forger';
34
34
  export { RpcForger } from './forger/rpc-forger';
35
35
  export * from './operations';
36
36
  export { OperationBatch } from './batch/rpc-batch-provider';
37
- export * from './signer/interface';
37
+ export { Signer } from '@taquito/core';
38
38
  export * from './subscribe/interface';
39
39
  export { SubscribeProvider } from './subscribe/interface';
40
40
  export { PollingSubscribeProvider } from './subscribe/polling-subcribe-provider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/taquito",
3
- "version": "23.0.0-beta.1",
3
+ "version": "23.0.0",
4
4
  "description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.",
5
5
  "keywords": [
6
6
  "tezos",
@@ -77,13 +77,13 @@
77
77
  ]
78
78
  },
79
79
  "dependencies": {
80
- "@taquito/core": "^23.0.0-beta.1",
81
- "@taquito/http-utils": "^23.0.0-beta.1",
82
- "@taquito/local-forging": "^23.0.0-beta.1",
83
- "@taquito/michel-codec": "^23.0.0-beta.1",
84
- "@taquito/michelson-encoder": "^23.0.0-beta.1",
85
- "@taquito/rpc": "^23.0.0-beta.1",
86
- "@taquito/utils": "^23.0.0-beta.1",
80
+ "@taquito/core": "^23.0.0",
81
+ "@taquito/http-utils": "^23.0.0",
82
+ "@taquito/local-forging": "^23.0.0",
83
+ "@taquito/michel-codec": "^23.0.0",
84
+ "@taquito/michelson-encoder": "^23.0.0",
85
+ "@taquito/rpc": "^23.0.0",
86
+ "@taquito/utils": "^23.0.0",
87
87
  "bignumber.js": "^9.1.2",
88
88
  "rxjs": "^7.8.2"
89
89
  },
@@ -125,5 +125,5 @@
125
125
  "webpack-cli": "^5.1.4",
126
126
  "webpack-subresource-integrity": "^5.1.0"
127
127
  },
128
- "gitHead": "1469d6f0d55134a4b853598a2eec48e6f71b3da3"
128
+ "gitHead": "4ac77876be144da54f292e639b5b977a13642de9"
129
129
  }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,38 +0,0 @@
1
- /**
2
- * @description Signer interface which is used across taquito in order to sign and inject operation
3
- */
4
- export interface Signer {
5
- /**
6
- * @param op Message to sign
7
- * @param magicByte Magic bytes 11 for block, 12 for preattestation, 13 for attestation, 3 for generic, 5 for the PACK format of michelson
8
- * @description Sign the message and return an object with bytes, sig, prefixSig and sbytes
9
- */
10
- sign(op: string, magicByte?: Uint8Array): Promise<SignResult>;
11
- /**
12
- * @description Return the public key of the account used by the signer
13
- */
14
- publicKey(): Promise<string>;
15
- /**
16
- * @description Return the public key hash of the account used by the signer
17
- */
18
- publicKeyHash(): Promise<string>;
19
- /**
20
- * @description Optionally return the secret key of the account used by the signer
21
- */
22
- secretKey(): Promise<string | undefined>;
23
- /**
24
- * @description Sign the public key to prove possession for bls key and return an object with bytes, sig, prefixSig and sbytes
25
- */
26
- provePossession?(): Promise<RawSignResult>;
27
- }
28
- export interface SignResult {
29
- bytes: string;
30
- sig: string;
31
- prefixSig: string;
32
- sbytes: string;
33
- }
34
- export interface RawSignResult {
35
- sig: string;
36
- prefixSig: string;
37
- rawSignature: Uint8Array;
38
- }