Skip to content

Commit

Permalink
include dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
mmv08 committed Sep 9, 2021
1 parent ec591ac commit 68b6b7f
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 20 deletions.
8 changes: 4 additions & 4 deletions packages/safe-apps-sdk/dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/safe-apps-sdk",
"version": "4.3.0-next.0",
"version": "4.3.0-next.1",
"description": "SDK developed to integrate third-party apps with Safe-Multisig app.",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
Expand All @@ -27,9 +27,9 @@
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^16.7.2",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"@types/node": "^16.9.0",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"rimraf": "^3.0.2"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/safe-apps-sdk/dist/src/safe/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Communicator, SafeInfo, SafeBalances, GetBalanceParams, BytesLike } from '../types';
import { Communicator, SafeInfo, SafeBalances, GetBalanceParams } from '../types';
declare class Safe {
private readonly communicator;
constructor(communicator: Communicator);
getInfo(): Promise<SafeInfo>;
experimental_getBalances({ currency }?: GetBalanceParams): Promise<SafeBalances>;
private check1271Signature;
private check1271SignatureBytes;
isMessageSigned(message: BytesLike, signature?: string): Promise<boolean>;
isMessageSigned(message: string, signature?: string): Promise<boolean>;
isMessageHashSigned(messageHash: string, signature?: string): Promise<boolean>;
}
export { Safe };
2 changes: 1 addition & 1 deletion packages/safe-apps-sdk/dist/src/safe/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/safe-apps-sdk/dist/src/safe/signatures.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { ethers } from 'ethers';
import { BytesLike } from '../types';
declare const MAGIC_VALUE = "0x1626ba7e";
declare const MAGIC_VALUE_BYTES = "0x20c13b0b";
declare const EIP_1271_INTERFACE: ethers.utils.Interface;
declare const EIP_1271_BYTES_INTERFACE: ethers.utils.Interface;
declare const calculateMessageHash: (message: BytesLike) => string;
declare const calculateMessageHash: (message: string) => string;
export { EIP_1271_INTERFACE, EIP_1271_BYTES_INTERFACE, MAGIC_VALUE, MAGIC_VALUE_BYTES, calculateMessageHash };
5 changes: 1 addition & 4 deletions packages/safe-apps-sdk/dist/src/safe/signatures.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/safe-apps-sdk/dist/src/safe/signatures.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/safe-apps-sdk/dist/src/txs/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { GatewayTransactionDetails, SendTransactionsParams, Communicator, SendTransactionsResponse, BytesLike } from '../types';
import { GatewayTransactionDetails, SendTransactionsParams, Communicator, SendTransactionsResponse } from '../types';
declare class TXs {
private readonly communicator;
constructor(communicator: Communicator);
getBySafeTxHash(safeTxHash: string): Promise<GatewayTransactionDetails>;
signMessage(message: BytesLike): Promise<SendTransactionsResponse>;
signMessage(message: string): Promise<SendTransactionsResponse>;
send({ txs, params }: SendTransactionsParams): Promise<SendTransactionsResponse>;
}
export { TXs };
2 changes: 1 addition & 1 deletion packages/safe-apps-sdk/dist/src/txs/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions packages/safe-apps-sdk/dist/src/types/sdk.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ export declare type BaseTransaction = {
value: string;
data: string;
};
export declare type Bytes = ArrayLike<number>;
export declare type BytesLike = Bytes | string;
export declare type GetTxBySafeTxHashParams = {
safeTxHash: string;
};
Expand All @@ -19,7 +17,7 @@ export declare type GetBalanceParams = {
currency?: string;
};
export declare type SignMessageParams = {
message: BytesLike;
message: string;
};
export declare type SendTransactionsResponse = {
safeTxHash: string;
Expand Down

0 comments on commit 68b6b7f

Please sign in to comment.