🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@stepzen/sdk

Package Overview
Dependencies
Maintainers
8
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stepzen/sdk - npm Package Compare versions

Comparing version

to
0.49.0-experimental.7f0fcac

1

lib/index.d.ts

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

export * from './init.js';
export * from './init-v2.js';

@@ -3,0 +2,0 @@ export * from './shared/types.js';

// Copyright IBM Corp. 2020, 2025
export * from './init.js';
export * from './init-v2.js';

@@ -4,0 +3,0 @@ export * from './shared/types.js';

6

lib/shared/request.d.ts

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

import { SDKConfiguration, StepZenAccount, ZenCtlRequestHeaders } from './types.js';
export declare const getUserAgent: (sdkConfig: SDKConfiguration) => string;
export declare const getRequestHeaders: (account: StepZenAccount, sdkConfig: SDKConfiguration) => ZenCtlRequestHeaders;
import { SDKConfigurationV2, StepZenAccount, ZenCtlRequestHeaders } from './types.js';
export declare const getUserAgent: (sdkConfig: SDKConfigurationV2) => string;
export declare const getRequestHeaders: (account: StepZenAccount, sdkConfig: SDKConfigurationV2) => ZenCtlRequestHeaders;
//# sourceMappingURL=request.d.ts.map

@@ -18,7 +18,2 @@ export interface StepZenAccount {

}
export type StepZenCredentials = {
account: string;
adminkey: string;
apikey: string;
};
export type UserCredentialsClientOptions = Pick<StepZenAccount, 'account' | 'adminkey'> & Partial<StepZenAccount>;

@@ -25,0 +20,0 @@ export type AnonymousClientOptions = {

{
"name": "@stepzen/sdk",
"version": "0.49.0-experimental.3bed976",
"version": "0.49.0-experimental.7f0fcac",
"license": "MIT",

@@ -25,4 +25,4 @@ "author": "Darren Waddell <darren@stepzen.com>",

"dependencies": {
"@stepzen/fetch": "0.49.0-experimental.3bed976",
"@stepzen/transpiler": "0.49.0-experimental.3bed976",
"@stepzen/fetch": "0.49.0-experimental.7f0fcac",
"@stepzen/transpiler": "0.49.0-experimental.7f0fcac",
"archiver": "^5.3.0",

@@ -61,3 +61,3 @@ "debug": "^4.3.4",

},
"gitHead": "3bed9764ce27a4dca65e9b2be59a147dd7bed2fc"
"gitHead": "7f0fcacfab752e4f3b329b2dbf71c25c7af52803"
}
// Copyright IBM Corp. 2020, 2025
export * from './init.js'
export * from './init-v2.js'
export * from './shared/types.js'
export {fetchGraphQLQuery} from './shared/graphql-client.js'

@@ -7,3 +7,3 @@ // Copyright IBM Corp. 2020, 2025

import {
SDKConfiguration,
SDKConfigurationV2,
StepZenAccount,

@@ -20,3 +20,3 @@ ZenCtlRequestHeaders,

export const getUserAgent = (sdkConfig: SDKConfiguration): string => {
export const getUserAgent = (sdkConfig: SDKConfigurationV2): string => {
return `${sdkConfig.appName} stepzen-sdk/${version} (${platform}; ${arch}; node-${process.version})`

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

account: StepZenAccount,
sdkConfig: SDKConfiguration,
sdkConfig: SDKConfigurationV2,
): ZenCtlRequestHeaders => {

@@ -30,0 +30,0 @@ return {

@@ -22,8 +22,2 @@ // Copyright IBM Corp. 2020, 2025

export type StepZenCredentials = {
account: string
adminkey: string
apikey: string
}
export type UserCredentialsClientOptions = Pick<

@@ -30,0 +24,0 @@ StepZenAccount,

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