New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@basetime/a2w-api-ts

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@basetime/a2w-api-ts - npm Package Compare versions

Comparing version 0.1.13 to 0.1.14

18

dist/index.cjs.js

@@ -231,2 +231,20 @@ "use strict";

};
/**
* Accepts an scanner app invite code and returns api keys.
*
* @param code The invite code.
*/
exchangeScannerInvite = async (code) => {
const url = `${_OrganizationsEndpoint.endpoint}/scanners/invites`;
return await this.req.fetch(url, {
method: "POST",
headers: {
Accept: "application/json",
"Content-Type": "application/json"
},
body: JSON.stringify({
code
})
});
};
};

@@ -233,0 +251,0 @@

@@ -197,2 +197,20 @@ // src/Endpoint.ts

};
/**
* Accepts an scanner app invite code and returns api keys.
*
* @param code The invite code.
*/
exchangeScannerInvite = async (code) => {
const url = `${_OrganizationsEndpoint.endpoint}/scanners/invites`;
return await this.req.fetch(url, {
method: "POST",
headers: {
Accept: "application/json",
"Content-Type": "application/json"
},
body: JSON.stringify({
code
})
});
};
};

@@ -199,0 +217,0 @@

@@ -17,2 +17,11 @@ import Endpoint from './Endpoint';

getMine: () => Promise<Organization>;
/**
* Accepts an scanner app invite code and returns api keys.
*
* @param code The invite code.
*/
exchangeScannerInvite: (code: string) => Promise<{
key: string;
secret: string;
}>;
}

2

package.json
{
"name": "@basetime/a2w-api-ts",
"version": "0.1.13",
"version": "0.1.14",
"private": false,

@@ -5,0 +5,0 @@ "description": "Client library that communicates with the addtowallet API.",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc