Socket
Socket
Sign inDemoInstall

@connext/channel-commitments

Package Overview
Dependencies
62
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-alpha.0 to 0.0.1-alpha.1

2

dist/commitment.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc