@datastax/astra-db-ts
Advanced tools
Comparing version 0.0.25 to 0.1.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
576422
9525