@nexushub/client 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/config.ts
|
|
2
|
-
var DEFAULT_API_URL = "
|
|
3
|
-
var DEFAULT_ANALYTICS_URL = "
|
|
4
|
-
var LOCAL_NEST_URL = "
|
|
5
|
-
var LOCAL_RUST_URL = "
|
|
2
|
+
var DEFAULT_API_URL = "https://endpoints.gnexus.co.tz";
|
|
3
|
+
var DEFAULT_ANALYTICS_URL = "https://sentry.gnapex.co.tz";
|
|
4
|
+
var LOCAL_NEST_URL = "https://endpoints.gnexus.co.tz";
|
|
5
|
+
var LOCAL_RUST_URL = "https://sentry.gnapex.co.tz";
|
|
6
6
|
var getEnvConfig = () => {
|
|
7
7
|
const NEXT_PUBLIC_ID = typeof process !== "undefined" ? process.env.NEXT_PUBLIC_NEXUS_ID : void 0;
|
|
8
8
|
const NEXT_PUBLIC_KEY = typeof process !== "undefined" ? process.env.NEXT_PUBLIC_NEXUS_KEY : void 0;
|
package/dist/index.d.cts
CHANGED
|
@@ -8,10 +8,10 @@ interface MinimalNexusConfig {
|
|
|
8
8
|
apiKey?: string;
|
|
9
9
|
projectId?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const DEFAULT_API_URL = "
|
|
12
|
-
declare const DEFAULT_ANALYTICS_URL = "
|
|
13
|
-
declare const LOCAL_NEST_URL = "
|
|
14
|
-
declare const LOCAL_RUST_URL = "
|
|
11
|
+
declare const DEFAULT_API_URL = "https://endpoints.gnexus.co.tz";
|
|
12
|
+
declare const DEFAULT_ANALYTICS_URL = "https://sentry.gnapex.co.tz";
|
|
13
|
+
declare const LOCAL_NEST_URL = "https://endpoints.gnexus.co.tz";
|
|
14
|
+
declare const LOCAL_RUST_URL = "https://sentry.gnapex.co.tz";
|
|
15
15
|
declare const getEnvConfig: () => MinimalNexusConfig;
|
|
16
16
|
declare const mergeConfigs: (base: MinimalNexusConfig, override: Partial<MinimalNexusConfig>) => MinimalNexusConfig;
|
|
17
17
|
declare const getFullConfig: (partialConfig?: Partial<MinimalNexusConfig>) => MinimalNexusConfig;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ interface MinimalNexusConfig {
|
|
|
8
8
|
apiKey?: string;
|
|
9
9
|
projectId?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const DEFAULT_API_URL = "
|
|
12
|
-
declare const DEFAULT_ANALYTICS_URL = "
|
|
13
|
-
declare const LOCAL_NEST_URL = "
|
|
14
|
-
declare const LOCAL_RUST_URL = "
|
|
11
|
+
declare const DEFAULT_API_URL = "https://endpoints.gnexus.co.tz";
|
|
12
|
+
declare const DEFAULT_ANALYTICS_URL = "https://sentry.gnapex.co.tz";
|
|
13
|
+
declare const LOCAL_NEST_URL = "https://endpoints.gnexus.co.tz";
|
|
14
|
+
declare const LOCAL_RUST_URL = "https://sentry.gnapex.co.tz";
|
|
15
15
|
declare const getEnvConfig: () => MinimalNexusConfig;
|
|
16
16
|
declare const mergeConfigs: (base: MinimalNexusConfig, override: Partial<MinimalNexusConfig>) => MinimalNexusConfig;
|
|
17
17
|
declare const getFullConfig: (partialConfig?: Partial<MinimalNexusConfig>) => MinimalNexusConfig;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// src/config.ts
|
|
2
|
-
var DEFAULT_API_URL = "
|
|
3
|
-
var DEFAULT_ANALYTICS_URL = "
|
|
4
|
-
var LOCAL_NEST_URL = "
|
|
5
|
-
var LOCAL_RUST_URL = "
|
|
2
|
+
var DEFAULT_API_URL = "https://endpoints.gnexus.co.tz";
|
|
3
|
+
var DEFAULT_ANALYTICS_URL = "https://sentry.gnapex.co.tz";
|
|
4
|
+
var LOCAL_NEST_URL = "https://endpoints.gnexus.co.tz";
|
|
5
|
+
var LOCAL_RUST_URL = "https://sentry.gnapex.co.tz";
|
|
6
6
|
var getEnvConfig = () => {
|
|
7
7
|
const NEXT_PUBLIC_ID = typeof process !== "undefined" ? process.env.NEXT_PUBLIC_NEXUS_ID : void 0;
|
|
8
8
|
const NEXT_PUBLIC_KEY = typeof process !== "undefined" ? process.env.NEXT_PUBLIC_NEXUS_KEY : void 0;
|