@microsoft/1ds-core-js 4.4.0-nightlybeta3.2602-17 → 4.4.1
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/README.md +56 -0
- package/bundle/es5/{ms.core-4.4.0-nightlybeta3.2602-17.gbl.js → ms.core-4.4.1.gbl.js} +498 -511
- package/bundle/es5/ms.core-4.4.1.gbl.js.map +1 -0
- package/bundle/es5/ms.core-4.4.1.gbl.min.js +7 -0
- package/bundle/es5/ms.core-4.4.1.gbl.min.js.map +1 -0
- package/bundle/es5/ms.core-4.4.1.integrity.json +46 -0
- package/bundle/es5/{ms.core-4.4.0-nightlybeta3.2602-17.js → ms.core-4.4.1.js} +498 -511
- package/bundle/es5/ms.core-4.4.1.js.map +1 -0
- package/bundle/es5/ms.core-4.4.1.min.js +7 -0
- package/bundle/es5/ms.core-4.4.1.min.js.map +1 -0
- package/bundle/es5/ms.core.gbl.js +497 -510
- package/bundle/es5/ms.core.gbl.js.map +1 -1
- package/bundle/es5/ms.core.gbl.min.js +2 -2
- package/bundle/es5/ms.core.gbl.min.js.map +1 -1
- package/bundle/es5/ms.core.integrity.json +17 -17
- package/bundle/es5/ms.core.js +497 -510
- package/bundle/es5/ms.core.js.map +1 -1
- package/bundle/es5/ms.core.min.js +2 -2
- package/bundle/es5/ms.core.min.js.map +1 -1
- package/dist/es5/ms.core.js +495 -508
- package/dist/es5/ms.core.js.map +1 -1
- package/dist/es5/ms.core.min.js +2 -2
- package/dist/es5/ms.core.min.js.map +1 -1
- package/dist-es5/Index.js +9 -22
- package/dist-es5/Index.js.map +1 -1
- package/package.json +69 -72
- package/types/1ds-core-js.d.ts +110 -691
- package/types/1ds-core-js.namespaced.d.ts +54 -5
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-17.gbl.js.map +0 -1
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-17.gbl.min.js +0 -7
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-17.gbl.min.js.map +0 -1
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-17.integrity.json +0 -46
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-17.js.map +0 -1
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-17.min.js +0 -7
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-17.min.js.map +0 -1
- package/dist-es5/AppInsightsCore.js +0 -96
- package/dist-es5/AppInsightsCore.js.map +0 -1
- package/dist-es5/BaseCore.js +0 -67
- package/dist-es5/BaseCore.js.map +0 -1
- package/dist-es5/DataModels.js +0 -7
- package/dist-es5/DataModels.js.map +0 -1
- package/dist-es5/Enums.js +0 -92
- package/dist-es5/Enums.js.map +0 -1
- package/dist-es5/InternalConstants.js +0 -19
- package/dist-es5/InternalConstants.js.map +0 -1
- package/dist-es5/Utils.js +0 -397
- package/dist-es5/Utils.js.map +0 -1
- package/dist-es5/ValueSanitizer.js +0 -262
- package/dist-es5/ValueSanitizer.js.map +0 -1
- package/dist-es5/__DynamicConstants.js +0 -28
- package/dist-es5/__DynamicConstants.js.map +0 -1
- package/dist-es5/extSpanUtils.js +0 -308
- package/dist-es5/extSpanUtils.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Microsoft 1DS Web SDK Core
|
|
2
2
|
|
|
3
|
+
> ## :warning: Deprecated
|
|
4
|
+
>
|
|
5
|
+
> **This package (`@microsoft/1ds-core-js`) is deprecated.** All functionality has been merged into
|
|
6
|
+
> [`@microsoft/applicationinsights-core-js`](https://www.npmjs.com/package/@microsoft/applicationinsights-core-js)
|
|
7
|
+
> and should be consumed directly from that package.
|
|
8
|
+
>
|
|
9
|
+
> This package now re-exports everything from `@microsoft/applicationinsights-core-js` for backward
|
|
10
|
+
> compatibility, but it will not receive new features or enhancements. Please migrate to
|
|
11
|
+
> `@microsoft/applicationinsights-core-js` at your earliest convenience.
|
|
12
|
+
|
|
13
|
+
## Upgrade Guide
|
|
14
|
+
|
|
15
|
+
To migrate, replace your `@microsoft/1ds-core-js` import with `@microsoft/applicationinsights-core-js` and
|
|
16
|
+
apply the name changes listed below.
|
|
17
|
+
|
|
18
|
+
### Class Name Changes
|
|
19
|
+
|
|
20
|
+
| 1ds-core-js (old) | applicationinsights-core-js (new) | Notes |
|
|
21
|
+
|--------------------|-----------------------------------|-------|
|
|
22
|
+
| `AppInsightsCore` | `AppInsightsExtCore` | The 1DS extended core class was renamed to `AppInsightsExtCore` |
|
|
23
|
+
| `InternalAppInsightsCore` | `AppInsightsCore` | The base `AppInsightsCore` is now the AI-specific core class |
|
|
24
|
+
|
|
25
|
+
### Import Changes
|
|
26
|
+
|
|
27
|
+
**Before (deprecated):**
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { AppInsightsCore, IExtendedConfiguration } from '@microsoft/1ds-core-js';
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**After:**
|
|
34
|
+
|
|
35
|
+
```typescript
|
|
36
|
+
import { AppInsightsExtCore, IExtendedConfiguration } from '@microsoft/applicationinsights-core-js';
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Other Name Changes
|
|
40
|
+
|
|
41
|
+
The following functions/exports were also renamed. The old names are still available from this
|
|
42
|
+
compatibility package, but when migrating to `@microsoft/applicationinsights-core-js` you must
|
|
43
|
+
use the new names.
|
|
44
|
+
|
|
45
|
+
| 1ds-core-js (old) | applicationinsights-core-js (new) | Notes |
|
|
46
|
+
|--------------------|-----------------------------------|-------|
|
|
47
|
+
| `Undefined` | `strUndefined` | String constant |
|
|
48
|
+
| `disallowsSameSiteNone` | `uaDisallowsSameSiteNone` | Cookie utility function |
|
|
49
|
+
| `cookieAvailable` | `areCookiesSupported` | Cookie utility function |
|
|
50
|
+
| `getISOString` | `toISOString` | Date formatting utility |
|
|
51
|
+
|
|
52
|
+
### All Other Exports
|
|
53
|
+
|
|
54
|
+
All other types, interfaces, enums, and utility functions retain the same names and are available
|
|
55
|
+
directly from `@microsoft/applicationinsights-core-js`.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
3
59
|
## Description
|
|
4
60
|
|
|
5
61
|
1DS Web SDK Core is the telemetry orchestrator, responsible for initializing all attached plugins and calling process() on each of them.
|