@taquito/taquito 23.0.0-beta.1 → 23.0.1
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/README.md +1 -1
- package/dist/lib/taquito.js +0 -1
- package/dist/lib/version.js +2 -2
- package/dist/taquito.es6.js +2 -2
- package/dist/taquito.min.js +1 -1
- package/dist/taquito.umd.js +2 -2
- package/dist/types/context.d.ts +1 -1
- package/dist/types/provider.d.ts +1 -1
- package/dist/types/signer/noop.d.ts +1 -1
- package/dist/types/taquito.d.ts +2 -2
- package/package.json +9 -9
- package/dist/lib/signer/interface.js +0 -2
- package/dist/types/signer/interface.d.ts +0 -38
package/dist/taquito.umd.js
CHANGED
|
@@ -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": "
|
|
7255
|
-
"version": "23.0.
|
|
7254
|
+
"commitHash": "c26a3d67ae3694c157f4f56fb5bf85ca3c495a9b",
|
|
7255
|
+
"version": "23.0.1"
|
|
7256
7256
|
};
|
|
7257
7257
|
|
|
7258
7258
|
/**
|
package/dist/types/context.d.ts
CHANGED
|
@@ -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 '
|
|
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';
|
package/dist/types/provider.d.ts
CHANGED
|
@@ -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("
|
|
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;
|
package/dist/types/taquito.d.ts
CHANGED
|
@@ -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 '
|
|
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
|
|
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.
|
|
3
|
+
"version": "23.0.1",
|
|
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.
|
|
81
|
-
"@taquito/http-utils": "^23.0.
|
|
82
|
-
"@taquito/local-forging": "^23.0.
|
|
83
|
-
"@taquito/michel-codec": "^23.0.
|
|
84
|
-
"@taquito/michelson-encoder": "^23.0.
|
|
85
|
-
"@taquito/rpc": "^23.0.
|
|
86
|
-
"@taquito/utils": "^23.0.
|
|
80
|
+
"@taquito/core": "^23.0.1",
|
|
81
|
+
"@taquito/http-utils": "^23.0.1",
|
|
82
|
+
"@taquito/local-forging": "^23.0.1",
|
|
83
|
+
"@taquito/michel-codec": "^23.0.1",
|
|
84
|
+
"@taquito/michelson-encoder": "^23.0.1",
|
|
85
|
+
"@taquito/rpc": "^23.0.1",
|
|
86
|
+
"@taquito/utils": "^23.0.1",
|
|
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": "
|
|
128
|
+
"gitHead": "d67244a8188ee3a62390f32b75ba1acf599a782f"
|
|
129
129
|
}
|
|
@@ -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
|
-
}
|