@microsoft/applicationinsights-channel-js 2.8.6-nightly.2207-25 → 3.0.0-beta.2208-03
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/LICENSE +17 -17
- package/NOTICE +17 -0
- package/PRIVACY +3 -0
- package/README.md +20 -9
- package/browser/applicationinsights-channel-js.integrity.json +9 -9
- package/browser/applicationinsights-channel-js.js +8 -3
- package/browser/applicationinsights-channel-js.js.map +1 -1
- package/browser/applicationinsights-channel-js.min.js +2 -2
- package/browser/applicationinsights-channel-js.min.js.map +1 -1
- package/dist/applicationinsights-channel-js.api.json +1 -1
- package/dist/applicationinsights-channel-js.d.ts +1 -1
- package/dist/applicationinsights-channel-js.js +8 -3
- package/dist/applicationinsights-channel-js.js.map +1 -1
- package/dist/applicationinsights-channel-js.min.js +2 -2
- package/dist/applicationinsights-channel-js.min.js.map +1 -1
- package/dist/applicationinsights-channel-js.rollup.d.ts +1 -1
- package/dist-esm/EnvelopeCreator.js +2 -2
- package/dist-esm/EnvelopeCreator.js.map +1 -1
- package/dist-esm/Interfaces.js +1 -1
- package/dist-esm/InternalConstants.js +1 -1
- package/dist-esm/Offline.js +1 -1
- package/dist-esm/SendBuffer.js +1 -1
- package/dist-esm/Sender.js +1 -1
- package/dist-esm/Serializer.js +1 -1
- package/dist-esm/TelemetryProcessors/Sample.js +1 -1
- package/dist-esm/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
- package/dist-esm/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-channel-js.js +1 -1
- package/package.json +4 -4
- package/types/tsdoc-metadata.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) Microsoft Corporation
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
NOTICES AND INFORMATION
|
|
2
|
+
Do Not Translate or Localize
|
|
3
|
+
|
|
4
|
+
This software incorporates material from third parties. Microsoft makes certain
|
|
5
|
+
open source code available at https://3rdpartysource.microsoft.com, or you may
|
|
6
|
+
send a check or money order for US $5.00, including the product name, the open
|
|
7
|
+
source component name, and version number, to:
|
|
8
|
+
|
|
9
|
+
Source Code Compliance Team
|
|
10
|
+
Microsoft Corporation
|
|
11
|
+
One Microsoft Way
|
|
12
|
+
Redmond, WA 98052
|
|
13
|
+
USA
|
|
14
|
+
|
|
15
|
+
Notwithstanding any other terms, you may reverse engineer this software to the
|
|
16
|
+
extent required to debug changes to any libraries licensed under the GNU Lesser
|
|
17
|
+
General Public License.
|
package/PRIVACY
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Data Collection
|
|
2
|
+
|
|
3
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
package/README.md
CHANGED
|
@@ -20,18 +20,29 @@ npm run test
|
|
|
20
20
|
|
|
21
21
|
## Contributing
|
|
22
22
|
|
|
23
|
-
This project welcomes contributions and suggestions.
|
|
24
|
-
Contributor License Agreement (CLA) declaring that you have the right to,
|
|
25
|
-
the rights to use your contribution. For details, visit
|
|
23
|
+
This project welcomes contributions and suggestions. Most contributions require you to
|
|
24
|
+
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
|
|
25
|
+
and actually do, grant us the rights to use your contribution. For details, visit
|
|
26
|
+
https://cla.microsoft.com.
|
|
26
27
|
|
|
27
|
-
When you submit a pull request, a CLA-bot will automatically determine whether you need
|
|
28
|
-
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
|
|
29
|
-
provided by the bot. You will only need to do this once across all
|
|
28
|
+
When you submit a pull request, a CLA-bot will automatically determine whether you need
|
|
29
|
+
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
|
|
30
|
+
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
|
|
30
31
|
|
|
31
32
|
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
32
|
-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
33
|
-
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
33
|
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
34
|
+
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
35
|
+
|
|
36
|
+
## Data Collection
|
|
37
|
+
|
|
38
|
+
As this SDK is designed to enable applications to perform data collection which is sent to the Microsoft collection endpoints the following is required to identify our privacy statement.
|
|
39
|
+
|
|
40
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
|
41
|
+
|
|
42
|
+
## Trademarks
|
|
43
|
+
|
|
44
|
+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft’s Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
|
|
34
45
|
|
|
35
46
|
## License
|
|
36
47
|
|
|
37
|
-
[MIT](LICENSE)
|
|
48
|
+
[MIT](LICENSE)
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-channel-js",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.2208-03",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-channel-js.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-roLEk2m0IGqRX9fIJJvm7l8oPVBQ7aT9aguVXWUaXTs= sha384-WaZIIv9rnW44AG4tcCcp8W0Smt7as0zyCbs5TIgKfjbZfa1CE+vwhq4LV0z1zpN5 sha512-0GatftTCaYkEhGQ32v1F7amEbyP4zCjXCAH1n1HTx4juIeLghiVyy3s1NYdnudq0PYFbslsaAtU+hBEuBwF0ng==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "roLEk2m0IGqRX9fIJJvm7l8oPVBQ7aT9aguVXWUaXTs=",
|
|
11
|
+
"sha384": "WaZIIv9rnW44AG4tcCcp8W0Smt7as0zyCbs5TIgKfjbZfa1CE+vwhq4LV0z1zpN5",
|
|
12
|
+
"sha512": "0GatftTCaYkEhGQ32v1F7amEbyP4zCjXCAH1n1HTx4juIeLghiVyy3s1NYdnudq0PYFbslsaAtU+hBEuBwF0ng=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-channel-js.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-JFSyxKMSU7wBI9f3Zji8KLe6OYsysxbzeHpxHjirTlk= sha384-b/FtrZVsR473IxsB15k1+4sBuAsj6iaWr43Hr9vvbXem3Q3H7FQHLWLialSP05rR sha512-ys0sOVpxXUKsryYFig7njmAx1S3+icBh5kckXKzoyGzMFZEI3TfN9FAH9PhfiC+apbiKvaITFX4anRFmAJtY9A==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "JFSyxKMSU7wBI9f3Zji8KLe6OYsysxbzeHpxHjirTlk=",
|
|
21
|
+
"sha384": "b/FtrZVsR473IxsB15k1+4sBuAsj6iaWr43Hr9vvbXem3Q3H7FQHLWLialSP05rR",
|
|
22
|
+
"sha512": "ys0sOVpxXUKsryYFig7njmAx1S3+icBh5kckXKzoyGzMFZEI3TfN9FAH9PhfiC+apbiKvaITFX4anRFmAJtY9A=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Channel,
|
|
2
|
+
* Application Insights JavaScript SDK - Channel, 3.0.0-beta.2208-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -397,6 +397,8 @@
|
|
|
397
397
|
var STR_GET_PERF_MGR = "getPerfMgr";
|
|
398
398
|
|
|
399
399
|
var strToISOString = "toISOString";
|
|
400
|
+
var cStrEndsWith = "endsWith";
|
|
401
|
+
var cStrStartsWith = "startsWith";
|
|
400
402
|
var strIndexOf = "indexOf";
|
|
401
403
|
var strMap = "map";
|
|
402
404
|
var cStrTrim = "trim";
|
|
@@ -405,9 +407,12 @@
|
|
|
405
407
|
var strConstructor = "constructor";
|
|
406
408
|
var _objDefineProperty$1 = ObjDefineProperty;
|
|
407
409
|
var _objFreeze = ObjClass.freeze;
|
|
410
|
+
ObjClass.seal;
|
|
408
411
|
var _objKeys = ObjClass.keys;
|
|
409
412
|
var StringProto = String[strShimPrototype];
|
|
410
413
|
var _strTrim = StringProto[cStrTrim];
|
|
414
|
+
StringProto[cStrEndsWith];
|
|
415
|
+
StringProto[cStrStartsWith];
|
|
411
416
|
var DateProto = Date[strShimPrototype];
|
|
412
417
|
var _dataToISOString = DateProto[strToISOString];
|
|
413
418
|
var _isArray = Array.isArray;
|
|
@@ -1326,7 +1331,7 @@
|
|
|
1326
1331
|
}
|
|
1327
1332
|
|
|
1328
1333
|
var _objDefineProperty = ObjDefineProperty;
|
|
1329
|
-
var version = "
|
|
1334
|
+
var version = "3.0.0-beta.2208-03";
|
|
1330
1335
|
var instanceName = "." + newId(6);
|
|
1331
1336
|
var _dataUid = 0;
|
|
1332
1337
|
function _createAccessor(target, prop, value) {
|
|
@@ -3408,7 +3413,7 @@
|
|
|
3408
3413
|
}
|
|
3409
3414
|
}
|
|
3410
3415
|
var EnvelopeCreator = {
|
|
3411
|
-
Version: "
|
|
3416
|
+
Version: "3.0.0-beta.2208-03"
|
|
3412
3417
|
};
|
|
3413
3418
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
3414
3419
|
EnvelopeCreatorInit(logger, telemetryItem);
|