@uptrace/core
Advanced tools
Comparing version 1.9.0 to 1.10.0
@@ -1,4 +0,4 @@ | ||
import { Resource } from '@opentelemetry/resources'; | ||
import { IResource } from '@opentelemetry/resources'; | ||
export interface Config { | ||
dsn: string; | ||
dsn?: string; | ||
serviceName?: string; | ||
@@ -8,5 +8,5 @@ serviceVersion?: string; | ||
resourceAttributes?: Record<string, any>; | ||
resource?: Resource; | ||
resource?: IResource; | ||
} | ||
export declare function createResource(resource: Resource | undefined, resourceAttributes: Record<string, any> | undefined, serviceName: string, serviceVersion: string, deploymentEnvironment: string): Resource; | ||
export declare function createResource(resource: IResource | undefined, resourceAttributes: Record<string, any> | undefined, serviceName: string, serviceVersion: string, deploymentEnvironment: string): IResource; | ||
export declare class Dsn { | ||
@@ -18,3 +18,3 @@ str: string; | ||
token: string; | ||
constructor(s: string); | ||
constructor(s: string | undefined); | ||
toString(): string; | ||
@@ -24,3 +24,3 @@ appAddr(): string; | ||
} | ||
export declare function parseDsn(s: string): Dsn; | ||
export declare function parseDsn(s: string | undefined): Dsn; | ||
//# sourceMappingURL=config.d.ts.map |
export * from './config'; | ||
export * from './idgen'; | ||
export * from './client'; | ||
@@ -4,0 +3,0 @@ export * from './types'; |
@@ -18,3 +18,2 @@ "use strict"; | ||
__exportStar(require("./config"), exports); | ||
__exportStar(require("./idgen"), exports); | ||
__exportStar(require("./client"), exports); | ||
@@ -21,0 +20,0 @@ __exportStar(require("./types"), exports); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.9.0"; | ||
export declare const VERSION = "1.10.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.9.0'; | ||
exports.VERSION = '1.10.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@uptrace/core", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"description": "Uptrace JS core", | ||
@@ -53,7 +53,7 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/api": "~1.4.0", | ||
"@opentelemetry/core": "~1.9.1", | ||
"@opentelemetry/instrumentation": "~0.35.1", | ||
"@opentelemetry/resources": "~1.9.1", | ||
"@opentelemetry/sdk-trace-base": "~1.9.1", | ||
"@opentelemetry/api": "~1.4.1", | ||
"@opentelemetry/core": "~1.10.0", | ||
"@opentelemetry/instrumentation": "~0.36.0", | ||
"@opentelemetry/resources": "~1.10.0", | ||
"@opentelemetry/sdk-trace-base": "~1.10.0", | ||
"cross-fetch": "3.1.5" | ||
@@ -63,6 +63,6 @@ }, | ||
"@types/mocha": "10.0.1", | ||
"@types/node": "18.11.18", | ||
"@types/node": "18.15.3", | ||
"@types/sinon": "10.0.13", | ||
"@typescript-eslint/eslint-plugin": "5.50.0", | ||
"eslint": "8.33.0", | ||
"@typescript-eslint/eslint-plugin": "5.55.0", | ||
"eslint": "8.36.0", | ||
"eslint-plugin-node": "11.1.0", | ||
@@ -73,3 +73,3 @@ "eslint-plugin-prettier": "4.2.1", | ||
"nyc": "15.1.0", | ||
"sinon": "15.0.1", | ||
"sinon": "15.0.2", | ||
"ts-mocha": "10.0.0", | ||
@@ -76,0 +76,0 @@ "typescript": "4.9.5" |
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
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
13903
16
225
+ Added@opentelemetry/core@1.10.1(transitive)
+ Added@opentelemetry/instrumentation@0.36.1(transitive)
+ Added@opentelemetry/resources@1.10.1(transitive)
+ Added@opentelemetry/sdk-trace-base@1.10.1(transitive)
+ Added@opentelemetry/semantic-conventions@1.10.1(transitive)
+ Addedrequire-in-the-middle@6.0.0(transitive)
- Removed@opentelemetry/core@1.9.1(transitive)
- Removed@opentelemetry/instrumentation@0.35.1(transitive)
- Removed@opentelemetry/resources@1.9.1(transitive)
- Removed@opentelemetry/sdk-trace-base@1.9.1(transitive)
- Removed@opentelemetry/semantic-conventions@1.9.1(transitive)
- Removedrequire-in-the-middle@5.2.0(transitive)
Updated@opentelemetry/api@~1.4.1
Updated@opentelemetry/core@~1.10.0