Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tayeh.js

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tayeh.js - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

1

lib/instance/index.d.ts

@@ -8,2 +8,3 @@ import { Pagination } from '../dto';

constructor(API_ACCESS: string, INSTANCE_ID: number);
login(instance_id: string): Promise<AxiosResponse<TYPE.VerifiedResponse>>;
getInvoices(params?: TYPE.InvoicesParams): Promise<AxiosResponse<TYPE.InvoiceList>>;

@@ -10,0 +11,0 @@ getInvoice(invoice_id: string): Promise<AxiosResponse<TYPE.Invoice>>;

@@ -11,2 +11,6 @@ "use strict";

}
login(instance_id) {
const query = `${resourceName}/${this.INSTANCE_ID}/login`;
return this.post(query, { instance_id });
}
getInvoices(params) {

@@ -13,0 +17,0 @@ let query = `${resourceName}/${this.INSTANCE_ID}/invoices`;

@@ -323,2 +323,5 @@ import { Image } from '../dto';

};
export declare type VerifiedResponse = {
access_token: string;
};
export {};

2

package.json
{
"name": "tayeh.js",
"version": "0.2.0",
"version": "0.2.01",
"description": "tayeh shop-api client",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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