Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@buildable/utils

Package Overview
Dependencies
Maintainers
5
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buildable/utils - npm Package Compare versions

Comparing version
0.0.16
to
0.0.17
+0
-1
dist/index.js

@@ -9,3 +9,2 @@ "use strict";

tslib_1.__exportStar(require("./integrationDefinitionIds"), exports);
tslib_1.__exportStar(require("./client"), exports);
//# sourceMappingURL=index.js.map
+1
-1

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

{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,mDAAyB;AACzB,kDAAwB;AACxB,oDAA0B;AAC1B,qEAA2C;AAC3C,mDAAwB"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,mDAAyB;AACzB,kDAAwB;AACxB,oDAA0B;AAC1B,qEAA2C"}

@@ -5,3 +5,2 @@ export * from "./errors";

export * from './network';
export * from './integrationDefinitionIds';
export * from './client'
export * from './integrationDefinitionIds';
{
"name": "@buildable/utils",
"version": "0.0.16",
"version": "0.0.17",
"description": "",

@@ -14,3 +14,3 @@ "main": "dist/index.js",

"dependencies": {
"@buildable/types": "^0.0.14",
"@buildable/types": "^0.0.15",
"@temporalio/client": "^1.5.2",

@@ -29,3 +29,3 @@ "axios": "1.2.0",

},
"gitHead": "4b5e14ac5b386123f0fec75589000ca44e81ad52"
"gitHead": "daeed7345b6bddd1e7bd8b3194eed90dac013ced"
}
import { ValidAccessKey } from '@buildable/types';
export class Client {
private secret: ValidAccessKey;
private configs: Record<string, string>;
constructor(secret: ValidAccessKey, configs: Record<string, string>) {
this.secret = secret;
this.configs = configs;
}
/**
* Not for use outside the SDK lib
*/
get _clientInfo() {
return {
secret: this.secret,
configs: this.configs,
};
}
}
export const createClient = (
secret: ValidAccessKey,
configs: Record<string, string> = {}
) => {
return new Client(secret, configs);
};