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

@pandaenvia/nodejs-sdk

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandaenvia/nodejs-sdk - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

2

build/compiled/resources/Notification.d.ts

@@ -8,4 +8,4 @@ export = Notification;

emitToIds?: any[] | undefined;
}): void;
}): Promise<any>;
}
import AbstractResource = require("../src/AbstractResource");
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
const AbstractResource = require('../src/AbstractResource');
class Notification extends AbstractResource {
create({ uid, origin = {}, radius = 5, emitToIds = [] }) {
super.describe({
path: '/notification/{uid}',
params: {
uid,
},
method: 'POST',
body: {
event: {
name: 'looking_for_a_partner',
origin,
radius,
emitToIds,
const _super = Object.create(null, {
describe: { get: () => super.describe }
});
return __awaiter(this, void 0, void 0, function* () {
console.log('from sdk------', emitToIds);
return _super.describe.call(this, {
path: '/notification/{uid}',
params: {
uid,
},
},
method: 'POST',
body: {
event: {
name: 'looking_for_a_partner',
origin,
radius,
emitToIds,
},
},
});
});

@@ -20,0 +35,0 @@ }

@@ -44,3 +44,3 @@ declare class TokenProvider$1 {

emitToIds?: any[] | undefined;
}): void;
}): Promise<any>;
}

@@ -47,0 +47,0 @@

{
"name": "@pandaenvia/nodejs-sdk",
"version": "1.2.3",
"version": "1.2.4",
"description": "Pandaenvia API wrapper",

@@ -5,0 +5,0 @@ "main": "build/compiled/src/lockstep-api.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