gondi 0.29.13 → 0.29.15
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.
|
@@ -2,8 +2,9 @@ import { ApolloClient, GraphQLRequest } from '@apollo/client/core/index.js';
|
|
|
2
2
|
import { Wallet } from '../../clients/contracts';
|
|
3
3
|
export type Credential = SessionToken;
|
|
4
4
|
export declare const getAuthClient: () => Promise<ApolloClient<import("@apollo/client").NormalizedCacheObject>>;
|
|
5
|
-
export declare const signIn: ({ wallet }: {
|
|
5
|
+
export declare const signIn: ({ wallet, issuedAt }: {
|
|
6
6
|
wallet: Wallet;
|
|
7
|
+
issuedAt?: string;
|
|
7
8
|
}) => Promise<any>;
|
|
8
9
|
export declare class SessionToken {
|
|
9
10
|
token?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const buildSiweMessage: ({ domain, address, statement, uri, version, chainId, nonce, }: {
|
|
1
|
+
export declare const buildSiweMessage: ({ domain, address, statement, uri, version, chainId, nonce, issuedAt, }: {
|
|
2
2
|
domain: string;
|
|
3
3
|
address: string;
|
|
4
4
|
statement: string;
|
|
@@ -6,4 +6,5 @@ export declare const buildSiweMessage: ({ domain, address, statement, uri, versi
|
|
|
6
6
|
version: string;
|
|
7
7
|
chainId: number;
|
|
8
8
|
nonce: string;
|
|
9
|
+
issuedAt?: string;
|
|
9
10
|
}) => string;
|
package/dist/src/gondi.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare class Gondi {
|
|
|
52
52
|
fee: bigint;
|
|
53
53
|
actualEaprBps: bigint;
|
|
54
54
|
};
|
|
55
|
-
static buildSiweMessage: ({ domain, address, statement, uri, version, chainId, nonce, }: {
|
|
55
|
+
static buildSiweMessage: ({ domain, address, statement, uri, version, chainId, nonce, issuedAt, }: {
|
|
56
56
|
domain: string;
|
|
57
57
|
address: string;
|
|
58
58
|
statement: string;
|
|
@@ -60,6 +60,7 @@ export declare class Gondi {
|
|
|
60
60
|
version: string;
|
|
61
61
|
chainId: number;
|
|
62
62
|
nonce: string;
|
|
63
|
+
issuedAt?: string;
|
|
63
64
|
}) => string;
|
|
64
65
|
makeSingleNftOffer(offer: model.SingleNftOfferInput): Promise<{
|
|
65
66
|
aprBps: import("./generated/graphql").Scalars["BigInt"];
|