@rebilly/risk-data-collector 10.33.28 → 10.33.30

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/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
- ## 10.33.28 (2026-11-11)
1
+ ## 10.33.30 (2026-11-16)
2
2
 
3
3
  ### 🧱 Updated Dependencies
4
4
 
5
- - Updated eslint-config to 4.32.24
5
+ - Updated eslint-config to 4.32.26
package/README.md CHANGED
@@ -31,19 +31,19 @@ The library becomes available under the `RiskDataCollector` global namespace and
31
31
 
32
32
  ```html
33
33
  <html>
34
- <head>
35
- <script src="https://cdn.rebilly.com/risk-data-collector/@latest/data-collector.js"></script>
36
- </head>
37
-
38
- <body>
39
- <script type="text/javascript">
40
- (async () => {
41
- const browserData = await RiskDataCollector.collectData();
42
- console.log(`browserData is: ${JSON.stringify(browserData)}`);
43
- })();
44
- </script>
45
- </body>
46
- <html></html>
34
+ <head>
35
+ <script src="https://cdn.rebilly.com/risk-data-collector/@latest/data-collector.js"></script>
36
+ </head>
37
+
38
+ <body>
39
+ <script type="text/javascript">
40
+ (async () => {
41
+ const browserData = await RiskDataCollector.collectData();
42
+ console.log(`browserData is: ${JSON.stringify(browserData)}`);
43
+ })();
44
+ </script>
45
+ </body>
46
+ <html></html>
47
47
  </html>
48
48
  ```
49
49
 
@@ -63,8 +63,8 @@ Which can be imported and used like so:
63
63
  import { collectData } from '@rebilly/risk-data-collector';
64
64
 
65
65
  (async () => {
66
- const browserData = await collectData();
67
- console.log(`browserData is: ${JSON.stringify(browserData)}`);
66
+ const browserData = await collectData();
67
+ console.log(`browserData is: ${JSON.stringify(browserData)}`);
68
68
  })();
69
69
  ```
70
70
 
@@ -94,9 +94,9 @@ Example:
94
94
  import { collectData } from '@rebilly/risk-data-collector';
95
95
 
96
96
  (async () => {
97
- const env = 'production';
98
- const kountAccountId = '123456';
99
- const browserData = await collectData({ env, kountAccountId });
100
- console.log(`browserData is: ${JSON.stringify(browserData)}`);
97
+ const env = 'production';
98
+ const kountAccountId = '123456';
99
+ const browserData = await collectData({ env, kountAccountId });
100
+ console.log(`browserData is: ${JSON.stringify(browserData)}`);
101
101
  })();
102
102
  ```
@@ -20,7 +20,7 @@ export interface RiskMetadata {
20
20
  * it in.
21
21
  */
22
22
  declare function getBrowserData(): RiskMetadata['browserData'];
23
- declare function collectData({ env, kountAccountId, kountSessionId }?: KountParams): Promise<{
23
+ declare function collectData({ env, kountAccountId, kountSessionId, }?: KountParams): Promise<{
24
24
  riskMetadata: RiskMetadata;
25
25
  }>;
26
26
  export { collectData, getBrowserData };