Socket
Socket
Sign inDemoInstall

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.3 to 0.2.4

1

lib/user/index.d.ts

@@ -47,2 +47,3 @@ import { AxiosResponse } from 'axios';

createInstance(instance: TYPE.NewInstance): Promise<AxiosResponse<void>>;
getInstances(params?: Pagination): Promise<AxiosResponse<TYPE.UserShops[]>>;
like(body: TYPE.LikeParams): Promise<AxiosResponse<void>>;

@@ -49,0 +50,0 @@ comment(comment: TYPE.NewComment): Promise<AxiosResponse<string>>;

@@ -188,2 +188,7 @@ "use strict";

}
getInstances(params) {
let query = `${resourceName}/instances`;
query += (0, base_1.objectToQuery)(params);
return this.get(query);
}
like(body) {

@@ -190,0 +195,0 @@ const path = 'feed/like';

@@ -315,2 +315,12 @@ import { UserRegisterRequest } from '../dto/user/UserRegister.request';

export declare type EmitAnalytic = EmitAnalyticsRequest;
declare class UserShop {
id: number;
name?: string;
username?: string;
accepted?: number;
}
export declare class UserShops {
instances: UserShop[];
count: number;
}
export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Saved = void 0;
exports.UserShops = exports.Saved = void 0;
class Saved {
}
exports.Saved = Saved;
class UserShop {
}
class UserShops {
}
exports.UserShops = UserShops;
//# sourceMappingURL=types.js.map

2

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

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc