@dynamic-labs-sdk/client 1.8.2 → 1.9.0
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/android/src/main/java/xyz/dynamic/client/DynamicClientPackage.kt +10 -0
- package/android/src/main/java/xyz/dynamic/client/screenshot/ScreenshotProtectionModule.kt +48 -0
- package/dist/{InvalidParamError-CmwKWCyr.cjs → InvalidParamError-C7LLi2cZ.cjs} +70 -5
- package/dist/InvalidParamError-C7LLi2cZ.cjs.map +1 -0
- package/dist/{InvalidParamError-c1J0Vmze.esm.js → InvalidParamError-DIPFT3sS.esm.js} +52 -5
- package/dist/InvalidParamError-DIPFT3sS.esm.js.map +1 -0
- package/dist/{InvalidParamError-BqFQnYCi.native.esm.js → InvalidParamError-YG7yXCq5.native.esm.js} +273 -5
- package/dist/InvalidParamError-YG7yXCq5.native.esm.js.map +1 -0
- package/dist/NotWaasWalletAccountError-BWrDQFe8.esm.js +18 -0
- package/dist/NotWaasWalletAccountError-BWrDQFe8.esm.js.map +1 -0
- package/dist/NotWaasWalletAccountError-C8ex1YA_.cjs +23 -0
- package/dist/NotWaasWalletAccountError-C8ex1YA_.cjs.map +1 -0
- package/dist/NotWaasWalletAccountError-Cd2o0wr0.native.esm.js +18 -0
- package/dist/NotWaasWalletAccountError-Cd2o0wr0.native.esm.js.map +1 -0
- package/dist/core.cjs +24 -5
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +24 -6
- package/dist/core.esm.js.map +1 -1
- package/dist/core.native.esm.js +34 -9
- package/dist/core.native.esm.js.map +1 -1
- package/dist/exports/core.d.ts +4 -0
- package/dist/exports/core.d.ts.map +1 -1
- package/dist/exports/index.d.ts +0 -7
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/exports/waasCore.d.ts +2 -0
- package/dist/exports/waasCore.d.ts.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-Cke-DBhx.native.esm.js → getNetworkProviderFromNetworkId-C46TeXs8.native.esm.js} +17 -12
- package/dist/getNetworkProviderFromNetworkId-C46TeXs8.native.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-DXzopnuR.cjs → getNetworkProviderFromNetworkId-CBGWQS_K.cjs} +4 -4
- package/dist/{getNetworkProviderFromNetworkId-DXzopnuR.cjs.map → getNetworkProviderFromNetworkId-CBGWQS_K.cjs.map} +1 -1
- package/dist/{getNetworkProviderFromNetworkId-CGpE_Y95.esm.js → getNetworkProviderFromNetworkId-D-wj5mPl.esm.js} +3 -3
- package/dist/{getNetworkProviderFromNetworkId-CGpE_Y95.esm.js.map → getNetworkProviderFromNetworkId-D-wj5mPl.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-CbWFH_TM.cjs → getSignedSessionId-CCHKjoeP.cjs} +3 -3
- package/dist/{getSignedSessionId-CbWFH_TM.cjs.map → getSignedSessionId-CCHKjoeP.cjs.map} +1 -1
- package/dist/{getSignedSessionId-C7YR-jNH.native.esm.js → getSignedSessionId-DdKTM3Rh.native.esm.js} +3 -3
- package/dist/{getSignedSessionId-C7YR-jNH.native.esm.js.map → getSignedSessionId-DdKTM3Rh.native.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-C1uLkDjy.esm.js → getSignedSessionId-Dy04984p.esm.js} +3 -3
- package/dist/{getSignedSessionId-C1uLkDjy.esm.js.map → getSignedSessionId-Dy04984p.esm.js.map} +1 -1
- package/dist/{getVerifiedCredentialForWalletAccount-DPTHL1pO.esm.js → getVerifiedCredentialForWalletAccount-BFCM2wnx.esm.js} +3 -10
- package/dist/getVerifiedCredentialForWalletAccount-BFCM2wnx.esm.js.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-DidFNLGP.cjs → getVerifiedCredentialForWalletAccount-BtIVDer3.cjs} +4 -17
- package/dist/getVerifiedCredentialForWalletAccount-BtIVDer3.cjs.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-DAmdvMY5.native.esm.js → getVerifiedCredentialForWalletAccount-Dsca691m.native.esm.js} +3 -236
- package/dist/getVerifiedCredentialForWalletAccount-Dsca691m.native.esm.js.map +1 -0
- package/dist/getWaasWalletProviderFromWalletAccount-5-EJK6a_.cjs +19 -0
- package/dist/getWaasWalletProviderFromWalletAccount-5-EJK6a_.cjs.map +1 -0
- package/dist/getWaasWalletProviderFromWalletAccount-AhhyxkKQ.esm.js +14 -0
- package/dist/getWaasWalletProviderFromWalletAccount-AhhyxkKQ.esm.js.map +1 -0
- package/dist/getWaasWalletProviderFromWalletAccount-EnCRdI3w.native.esm.js +14 -0
- package/dist/getWaasWalletProviderFromWalletAccount-EnCRdI3w.native.esm.js.map +1 -0
- package/dist/index.cjs +51 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +47 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +50 -12
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isMfaRequiredForAction-DCwLx4Ik.esm.js → isMfaRequiredForAction-BrmFODJQ.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-DCwLx4Ik.esm.js.map → isMfaRequiredForAction-BrmFODJQ.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-Dx4BPJVg.native.esm.js → isMfaRequiredForAction-DAfjBLvz.native.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-Dx4BPJVg.native.esm.js.map → isMfaRequiredForAction-DAfjBLvz.native.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-BNipdNF5.cjs → isMfaRequiredForAction-aX0vdwv-.cjs} +2 -2
- package/dist/{isMfaRequiredForAction-BNipdNF5.cjs.map → isMfaRequiredForAction-aX0vdwv-.cjs.map} +1 -1
- package/dist/modules/balances/getBalances/getBalances.d.ts +5 -2
- package/dist/modules/balances/getBalances/getBalances.d.ts.map +1 -1
- package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +6 -3
- package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts.map +1 -1
- package/dist/modules/checkout/checkout.types.d.ts +6 -6
- package/dist/modules/checkout/checkout.types.d.ts.map +1 -1
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.d.ts +15 -0
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.d.ts.map +1 -0
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.types.d.ts +14 -0
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.types.d.ts.map +1 -0
- package/dist/modules/waas/createWaasClient/createNativeWaasSDKContainer.d.ts +15 -0
- package/dist/modules/waas/createWaasClient/createNativeWaasSDKContainer.d.ts.map +1 -0
- package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts +33 -0
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts.map +1 -0
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/index.d.ts +2 -0
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/index.d.ts.map +1 -0
- package/dist/modules/waas/waas.types.d.ts +3 -1
- package/dist/modules/waas/waas.types.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +5 -1
- package/dist/modules/wallets/networks/getBalance/getBalance.d.ts.map +1 -1
- package/dist/{NotWaasWalletAccountError-CgwG_c2-.esm.js → refreshAuth-B2kFf0pl.native.esm.js} +4 -18
- package/dist/refreshAuth-B2kFf0pl.native.esm.js.map +1 -0
- package/dist/{NotWaasWalletAccountError-Be0QB89x.native.esm.js → refreshAuth-B8xd2JUm.esm.js} +4 -18
- package/dist/refreshAuth-B8xd2JUm.esm.js.map +1 -0
- package/dist/{NotWaasWalletAccountError-DKEpLrGc.cjs → refreshAuth-BMtIp1do.cjs} +3 -23
- package/dist/refreshAuth-BMtIp1do.cjs.map +1 -0
- package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
- package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts.map +1 -1
- package/dist/services/instrumentation/instrumentation.types.d.ts +6 -0
- package/dist/services/instrumentation/instrumentation.types.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/utils/getOperatingSystem/getOperatingSystem.d.ts +13 -0
- package/dist/utils/getOperatingSystem/getOperatingSystem.d.ts.map +1 -0
- package/dist/utils/getOperatingSystem/getOperatingSystem.types.d.ts +8 -0
- package/dist/utils/getOperatingSystem/getOperatingSystem.types.d.ts.map +1 -0
- package/dist/utils/getPlatform/getPlatform.d.ts +11 -0
- package/dist/utils/getPlatform/getPlatform.d.ts.map +1 -0
- package/dist/utils/getPlatform/getPlatform.types.d.ts +8 -0
- package/dist/utils/getPlatform/getPlatform.types.d.ts.map +1 -0
- package/dist/waas.cjs +20 -28
- package/dist/waas.cjs.map +1 -1
- package/dist/waas.esm.js +4 -12
- package/dist/waas.esm.js.map +1 -1
- package/dist/waas.native.esm.js +4 -12
- package/dist/waas.native.esm.js.map +1 -1
- package/dist/waasCore.cjs +39 -4
- package/dist/waasCore.cjs.map +1 -1
- package/dist/waasCore.esm.js +39 -5
- package/dist/waasCore.esm.js.map +1 -1
- package/dist/waasCore.native.esm.js +68 -10
- package/dist/waasCore.native.esm.js.map +1 -1
- package/ios/DynamicClientScreenshotProtection.h +4 -0
- package/ios/DynamicClientScreenshotProtection.mm +137 -0
- package/package.json +5 -5
- package/src/turboModules/NativeScreenshotProtection.native.spec.ts +57 -0
- package/src/turboModules/NativeScreenshotProtection.ts +26 -0
- package/dist/InvalidParamError-BqFQnYCi.native.esm.js.map +0 -1
- package/dist/InvalidParamError-CmwKWCyr.cjs.map +0 -1
- package/dist/InvalidParamError-c1J0Vmze.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-Be0QB89x.native.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-CgwG_c2-.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-DKEpLrGc.cjs.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-Cke-DBhx.native.esm.js.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-DAmdvMY5.native.esm.js.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-DPTHL1pO.esm.js.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-DidFNLGP.cjs.map +0 -1
package/dist/{NotWaasWalletAccountError-Be0QB89x.native.esm.js → refreshAuth-B8xd2JUm.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as updateAuthFromVerifyResponse } from "./getVerifiedCredentialForWalletAccount-
|
|
1
|
+
import { A as createApiClient, ct as getCore, it as getDefaultClient, q as instrumentFunction } from "./InvalidParamError-DIPFT3sS.esm.js";
|
|
2
|
+
import { r as updateAuthFromVerifyResponse } from "./getVerifiedCredentialForWalletAccount-BFCM2wnx.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/user/refreshAuth/refreshAuth.ts
|
|
5
5
|
/**
|
|
@@ -34,19 +34,5 @@ const __refreshAuth_wrapped = instrumentFunction({
|
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
constructor({ walletAddress }) {
|
|
40
|
-
super({
|
|
41
|
-
cause: null,
|
|
42
|
-
code: "not_waas_wallet_account_error",
|
|
43
|
-
docsUrl: null,
|
|
44
|
-
name: "NotWaasWalletAccountError",
|
|
45
|
-
shortMessage: `Wallet account ${walletAddress} is not a Dynamic WaaS wallet account`
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
//#endregion
|
|
51
|
-
export { __refreshAuth_wrapped as n, NotWaasWalletAccountError as t };
|
|
52
|
-
//# sourceMappingURL=NotWaasWalletAccountError-Be0QB89x.native.esm.js.map
|
|
37
|
+
export { __refreshAuth_wrapped as t };
|
|
38
|
+
//# sourceMappingURL=refreshAuth-B8xd2JUm.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshAuth-B8xd2JUm.esm.js","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,kBAAY;CAElB,MAAM,OAAA,QAAW,OAAM;wBACN,gBAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,8BAAA,EAAA,UAAA,EAAA,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_InvalidParamError = require('./InvalidParamError-
|
|
2
|
-
const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-
|
|
1
|
+
const require_InvalidParamError = require('./InvalidParamError-C7LLi2cZ.cjs');
|
|
2
|
+
const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-BtIVDer3.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/modules/user/refreshAuth/refreshAuth.ts
|
|
5
5
|
/**
|
|
@@ -34,30 +34,10 @@ const __refreshAuth_wrapped = require_InvalidParamError.instrumentFunction({
|
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region src/errors/NotWaasWalletAccountError.ts
|
|
38
|
-
var NotWaasWalletAccountError = class extends require_InvalidParamError.BaseError {
|
|
39
|
-
constructor({ walletAddress }) {
|
|
40
|
-
super({
|
|
41
|
-
cause: null,
|
|
42
|
-
code: "not_waas_wallet_account_error",
|
|
43
|
-
docsUrl: null,
|
|
44
|
-
name: "NotWaasWalletAccountError",
|
|
45
|
-
shortMessage: `Wallet account ${walletAddress} is not a Dynamic WaaS wallet account`
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
//#endregion
|
|
51
|
-
Object.defineProperty(exports, 'NotWaasWalletAccountError', {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () {
|
|
54
|
-
return NotWaasWalletAccountError;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
37
|
Object.defineProperty(exports, '__refreshAuth_wrapped', {
|
|
58
38
|
enumerable: true,
|
|
59
39
|
get: function () {
|
|
60
40
|
return __refreshAuth_wrapped;
|
|
61
41
|
}
|
|
62
42
|
});
|
|
63
|
-
//# sourceMappingURL=
|
|
43
|
+
//# sourceMappingURL=refreshAuth-BMtIp1do.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshAuth-BMtIp1do.cjs","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,4CAAY;CAElB,MAAM,OAAA,kCAAW,OAAM;wBACN,0CAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,4EAAA,EAAA,UAAA,EAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectLoggerToInstrumentation.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"connectLoggerToInstrumentation.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAIxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAElF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,KAAK,oCAAoC,GAAG;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;CAC1C,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,6FAQxC,oCAAoC,SAgCtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumentFunction.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/instrumentFunction/instrumentFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"instrumentFunction.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/instrumentFunction/instrumentFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAsB1E,KAAK,wBAAwB,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,IAAI;IACzE,qCAAqC;IACrC,EAAE,EAAE,CAAC,CAAC;IACN,2DAA2D;IAC3D,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,MAAM,WAAW,GAAG,SAAS,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AAEH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,6CAKzE,wBAAwB,CAAC,CAAC,CAAC,KAAG,CAkGhC,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { SdkOperatingSystem } from '../../utils/getOperatingSystem/getOperatingSystem.types';
|
|
2
|
+
import type { SdkPlatform } from '../../utils/getPlatform/getPlatform.types';
|
|
1
3
|
export type InstrumentationEventPhase = 'started' | 'resolved' | 'rejected';
|
|
2
4
|
/**
|
|
3
5
|
* Datadog reserved attribute for log severity. DD uses this field to colour-
|
|
@@ -12,7 +14,11 @@ export type InstrumentationStatus = 'error' | 'info' | 'debug';
|
|
|
12
14
|
*/
|
|
13
15
|
export type InstrumentationEvent = {
|
|
14
16
|
environmentId: string;
|
|
17
|
+
/** The operating system the SDK is executing on. */
|
|
18
|
+
operatingSystem: SdkOperatingSystem;
|
|
15
19
|
parameters: Record<string, unknown>;
|
|
20
|
+
/** The runtime platform the SDK is executing on. */
|
|
21
|
+
platform: SdkPlatform;
|
|
16
22
|
/** Extension keys registered on the client at the time the event was emitted. */
|
|
17
23
|
registeredExtensionKeys: string[];
|
|
18
24
|
sdkSessionId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumentation.types.d.ts","sourceRoot":"","sources":["../../../src/services/instrumentation/instrumentation.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAE5E;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,iFAAiF;IACjF,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,8EAA8E;AAC9E,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,GAAG;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,yBAAyB,CAAC;IACjC,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,yEAAyE;AACzE,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,GAAG,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,KAAK,EAAE,4BAA4B,KAAK,IAAI,CAAC;IAC3D,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,CAAC,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAC7D,CAAC"}
|
|
1
|
+
{"version":3,"file":"instrumentation.types.d.ts","sourceRoot":"","sources":["../../../src/services/instrumentation/instrumentation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAE5E;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,eAAe,EAAE,kBAAkB,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,oDAAoD;IACpD,QAAQ,EAAE,WAAW,CAAC;IACtB,iFAAiF;IACjF,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,8EAA8E;AAC9E,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,GAAG;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,yBAAyB,CAAC;IACjC,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,yEAAyE;AACzE,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,GAAG,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,KAAK,EAAE,4BAA4B,KAAK,IAAI,CAAC;IAC3D,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,CAAC,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAC7D,CAAC"}
|