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

sink-npm

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sink-npm - npm Package Compare versions

Comparing version 0.11.0-beta.1 to 0.11.1-beta.1

8

CHANGELOG.md
# Changelog
## 0.11.1-beta.1 (2024-01-17)
Full Changelog: [v0.11.0-beta.1...v0.11.1-beta.1](https://github.com/stainless-sdks/sink-node-public/compare/v0.11.0-beta.1...v0.11.1-beta.1)
### Bug Fixes
* use `Accept: */*` as a default Header for void endpoints ([#334](https://github.com/stainless-sdks/sink-node-public/issues/334)) ([3ee58af](https://github.com/stainless-sdks/sink-node-public/commit/3ee58af2d2d2b416b7564a5429617f1991c629de))
## 0.11.0-beta.1 (2024-01-16)

@@ -4,0 +12,0 @@

2

index.js

@@ -188,3 +188,3 @@ "use strict";

createNoResponse(options) {
return this.post('/no_response', { ...options, headers: { Accept: '', ...options?.headers } });
return this.post('/no_response', { ...options, headers: { Accept: '*/*', ...options?.headers } });
}

@@ -191,0 +191,0 @@ /**

{
"name": "sink-npm",
"version": "0.11.0-beta.1",
"version": "0.11.1-beta.1",
"description": "The official TypeScript library for the Sink API",

@@ -5,0 +5,0 @@ "author": "Sink <dev@stainlessapi.com>",

@@ -52,3 +52,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -64,3 +64,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -76,3 +76,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -88,3 +88,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -100,3 +100,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -112,3 +112,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -124,3 +124,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -142,3 +142,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -159,3 +159,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -170,3 +170,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -182,3 +182,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -193,3 +193,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -211,3 +211,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -223,3 +223,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -235,3 +235,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -238,0 +238,0 @@ }

@@ -15,3 +15,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -18,0 +18,0 @@ }

@@ -47,3 +47,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -60,3 +60,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -85,3 +85,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -96,3 +96,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -99,0 +99,0 @@ }

@@ -19,3 +19,7 @@ "use strict";

...options,
headers: { Accept: '', 'X-Custom-Endpoint-Header': xCustomEndpointHeader || '', ...options?.headers },
headers: {
Accept: '*/*',
'X-Custom-Endpoint-Header': xCustomEndpointHeader || '',
...options?.headers,
},
});

@@ -22,0 +26,0 @@ }

@@ -14,3 +14,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -25,3 +25,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -28,0 +28,0 @@ }

@@ -45,3 +45,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -48,0 +48,0 @@ }

@@ -14,3 +14,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -25,3 +25,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -36,3 +36,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -47,3 +47,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -60,3 +60,3 @@ }

...options,
headers: { Accept: '', 'X-Custom-Header': xCustomHeader || '', ...options?.headers },
headers: { Accept: '*/*', 'X-Custom-Header': xCustomHeader || '', ...options?.headers },
});

@@ -72,3 +72,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -83,3 +83,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -95,3 +95,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -106,3 +106,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -116,3 +116,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -127,3 +127,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -130,0 +130,0 @@ }

@@ -15,3 +15,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -26,3 +26,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -37,3 +37,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -48,3 +48,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -59,3 +59,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -70,3 +70,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -81,3 +81,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -92,3 +92,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -95,0 +95,0 @@ }

@@ -11,3 +11,3 @@ "use strict";

foo(options) {
return this._client.post('/no_response', { ...options, headers: { Accept: '', ...options?.headers } });
return this._client.post('/no_response', { ...options, headers: { Accept: '*/*', ...options?.headers } });
}

@@ -14,0 +14,0 @@ }

@@ -85,3 +85,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -88,0 +88,0 @@ }

@@ -13,3 +13,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -16,0 +16,0 @@ }

@@ -21,3 +21,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -24,0 +24,0 @@ }

@@ -15,3 +15,3 @@ "use strict";

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -27,3 +27,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -39,3 +39,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -42,0 +42,0 @@ }

@@ -359,3 +359,3 @@ // File generated from our OpenAPI spec by Stainless.

createNoResponse(options?: Core.RequestOptions): Core.APIPromise<void> {
return this.post('/no_response', { ...options, headers: { Accept: '', ...options?.headers } });
return this.post('/no_response', { ...options, headers: { Accept: '*/*', ...options?.headers } });
}

@@ -362,0 +362,0 @@

@@ -46,3 +46,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -62,3 +62,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -78,3 +78,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -94,3 +94,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -110,3 +110,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -126,3 +126,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -142,3 +142,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -168,3 +168,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -190,3 +190,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -205,3 +205,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -221,3 +221,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -245,3 +245,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -280,3 +280,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -296,3 +296,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -312,3 +312,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -315,0 +315,0 @@ }

@@ -19,3 +19,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -22,0 +22,0 @@ }

@@ -51,3 +51,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -65,3 +65,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -94,3 +94,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -106,3 +106,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -109,0 +109,0 @@ }

@@ -23,3 +23,7 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', 'X-Custom-Endpoint-Header': xCustomEndpointHeader || '', ...options?.headers },
headers: {
Accept: '*/*',
'X-Custom-Endpoint-Header': xCustomEndpointHeader || '',
...options?.headers,
},
});

@@ -26,0 +30,0 @@ }

@@ -15,3 +15,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -27,3 +27,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -30,0 +30,0 @@ }

@@ -24,3 +24,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -27,0 +27,0 @@ }

@@ -15,3 +15,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -27,3 +27,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -39,3 +39,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -54,3 +54,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -80,3 +80,3 @@ }

...options,
headers: { Accept: '', 'X-Custom-Header': xCustomHeader || '', ...options?.headers },
headers: { Accept: '*/*', 'X-Custom-Header': xCustomHeader || '', ...options?.headers },
});

@@ -97,3 +97,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -109,3 +109,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -126,3 +126,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -141,3 +141,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -152,3 +152,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -168,3 +168,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -171,0 +171,0 @@ }

@@ -24,3 +24,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -44,3 +44,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -67,3 +67,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -87,3 +87,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -107,3 +107,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -127,3 +127,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -147,3 +147,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -167,3 +167,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -170,0 +170,0 @@ }

@@ -11,4 +11,4 @@ // File generated from our OpenAPI spec by Stainless.

foo(options?: Core.RequestOptions): Core.APIPromise<void> {
return this._client.post('/no_response', { ...options, headers: { Accept: '', ...options?.headers } });
return this._client.post('/no_response', { ...options, headers: { Accept: '*/*', ...options?.headers } });
}
}

@@ -73,3 +73,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -76,0 +76,0 @@ }

@@ -13,5 +13,5 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});
}
}

@@ -32,3 +32,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

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

@@ -17,3 +17,3 @@ // File generated from our OpenAPI spec by Stainless.

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -33,3 +33,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -49,3 +49,3 @@ }

...options,
headers: { Accept: '', ...options?.headers },
headers: { Accept: '*/*', ...options?.headers },
});

@@ -52,0 +52,0 @@ }

@@ -1,1 +0,1 @@

export const VERSION = '0.11.0-beta.1'; // x-release-please-version
export const VERSION = '0.11.1-beta.1'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "0.11.0-beta.1";
export declare const VERSION = "0.11.1-beta.1";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '0.11.0-beta.1'; // x-release-please-version
exports.VERSION = '0.11.1-beta.1'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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