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

@datastax/astra-db-ts

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datastax/astra-db-ts - npm Package Compare versions

Comparing version 0.0.25 to 0.1.0

6

dist/collections/client.js

@@ -130,4 +130,6 @@ "use strict";

if (args.length === 2) {
const keyspaceName = (0, utils_1.getKeyspaceName)(args[1]);
super(args[1], keyspaceName, { isAstra: true, applicationToken: args[0] });
let endpoint = args[1];
endpoint += "/api/json/v1";
endpoint += "/default_keyspace";
super(endpoint, "default_keyspace", { isAstra: true, applicationToken: args[0] });
}

@@ -134,0 +136,0 @@ else {

export declare const LIB_NAME = "@datastax/astra-db-ts";
export declare const LIB_VERSION = "0.0.25";
export declare const LIB_VERSION = "0.1.0";

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

exports.LIB_NAME = "@datastax/astra-db-ts";
exports.LIB_VERSION = "0.0.25";
exports.LIB_VERSION = "0.1.0";
//# sourceMappingURL=version.js.map
{
"name": "@datastax/astra-db-ts",
"version": "0.0.25",
"version": "0.1.0",
"description": "Astra DB TS Client",

@@ -5,0 +5,0 @@ "contributors": [

@@ -161,4 +161,6 @@ // Copyright DataStax, Inc.

if (args.length === 2) {
const keyspaceName = getKeyspaceName(args[1]);
super(args[1], keyspaceName, { isAstra: true, applicationToken: args[0] });
let endpoint = args[1];
endpoint += "/api/json/v1";
endpoint += "/default_keyspace";
super(endpoint, "default_keyspace", { isAstra: true, applicationToken: args[0] });
} else {

@@ -165,0 +167,0 @@ // token: string, dbId: string, region: string, keyspace?: string

export const LIB_NAME = "@datastax/astra-db-ts";
export const LIB_VERSION = "0.0.25";
export const LIB_VERSION = "0.1.0";

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