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
0
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.15 to 0.1.16

dist/ScannerInvite.d.ts

11

dist/index.cjs.js

@@ -232,2 +232,13 @@ "use strict";

/**
* Returns a scanner invite by code.
*
* @param code The invite code.
*/
getScannerInvite = async (code) => {
const url = `${_OrganizationsEndpoint.endpoint}/scanners/invites/${code}`;
return await this.req.fetch(url, {
method: "GET"
});
};
/**
* Accepts an scanner app invite code and returns api keys.

@@ -234,0 +245,0 @@ *

1

dist/index.d.ts

@@ -26,1 +26,2 @@ export { default as Client } from './Client';

export type { MetaValues, MetaValue } from './MetaValues';
export type { ScannerInvite } from './ScannerInvite';

@@ -198,2 +198,13 @@ // src/Endpoint.ts

/**
* Returns a scanner invite by code.
*
* @param code The invite code.
*/
getScannerInvite = async (code) => {
const url = `${_OrganizationsEndpoint.endpoint}/scanners/invites/${code}`;
return await this.req.fetch(url, {
method: "GET"
});
};
/**
* Accepts an scanner app invite code and returns api keys.

@@ -200,0 +211,0 @@ *

import Endpoint from './Endpoint';
import { Organization } from './Organization';
import { ScannerInvite } from './ScannerInvite';
/**

@@ -18,2 +19,8 @@ * Communicate with the organizations endpoints.

/**
* Returns a scanner invite by code.
*
* @param code The invite code.
*/
getScannerInvite: (code: string) => Promise<ScannerInvite | null>;
/**
* Accepts an scanner app invite code and returns api keys.

@@ -20,0 +27,0 @@ *

2

package.json
{
"name": "@basetime/a2w-api-ts",
"version": "0.1.15",
"version": "0.1.16",
"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