@connext/channel-commitments
Advanced tools
Comparing version 0.0.1-alpha.0 to 0.0.1-alpha.1
export declare class CommitmentClient { | ||
readonly SIGN_IN_PROMPT = "Connext Login v1.0"; | ||
readonly post: (_signature: string, backend?: string) => Promise<boolean>; | ||
readonly post: (_signature: string, _backend?: string) => Promise<void>; | ||
} | ||
//# sourceMappingURL=commitment.d.ts.map |
@@ -11,6 +11,5 @@ "use strict"; | ||
this.SIGN_IN_PROMPT = "Connext Login v1.0"; | ||
this.post = async (_signature, backend) => { | ||
this.post = async (_signature, _backend) => { | ||
// This method will take the signature and post it to the server. | ||
// Returns `true` if successful | ||
return Promise.resolve(true); | ||
return Promise.resolve(); | ||
}; | ||
@@ -17,0 +16,0 @@ } |
{ | ||
"name": "@connext/channel-commitments", | ||
"version": "0.0.1-alpha.0", | ||
"version": "0.0.1-alpha.1", | ||
"scripts": { | ||
@@ -16,3 +16,2 @@ "build": "tsc -p tsconfig.json", | ||
"dependencies": { | ||
"@airdrop/utils": "0.0.1-alpha.0", | ||
"@sinclair/typebox": "0.25.21", | ||
@@ -19,0 +18,0 @@ "fastify": "4.13.0" |
@@ -7,7 +7,6 @@ // https://github.com/connext/vector/blob/6c0e900ca412a79ba9f91e04114a15b60de9be73/modules/iframe-app/src/ConnextManager.tsx#L85C5-L87 | ||
public readonly SIGN_IN_PROMPT = "Connext Login v1.0"; | ||
public readonly post = async (_signature: string, backend?: string): Promise<boolean> => { | ||
public readonly post = async (_signature: string, _backend?: string): Promise<void> => { | ||
// This method will take the signature and post it to the server. | ||
// Returns `true` if successful | ||
return Promise.resolve(true); | ||
return Promise.resolve(); | ||
}; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4689
2
56
39
- Removed@airdrop/utils@0.0.1-alpha.0