@ms-cloudpack/common-types-browser 0.6.3 → 0.6.4

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/index.d.ts +2 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,8 +4,8 @@ This package provides Cloudpack types that are specific to the browser environme
4
4
 
5
5
  ## Import types directly
6
6
 
7
- ```typescript
8
- import { PageSessionContext } from '@ms-cloudpack/common-types-browser';
7
+ ```ts
8
+ import type { PageSessionContext } from '@ms-cloudpack/common-types-browser';
9
9
  ```
10
10
 
11
11
  This is useful for server code, since it **does not** define the `window.__cloudpack` global.
package/index.d.ts CHANGED
@@ -62,6 +62,8 @@ export interface BootstrapInput {
62
62
  pageSessionContext: PageSessionContext;
63
63
  /** Additional entry module import paths, to be added as script tags */
64
64
  entryScripts?: string[];
65
+ /** Defer execution of scripts until the entry has loaded (default: false). */
66
+ deferScripts?: boolean;
65
67
  }
66
68
 
67
69
  /** Types for `window.__cloudpack` */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/common-types-browser",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Types for Cloudpack browser globals.",
5
5
  "license": "MIT",
6
6
  "type": "module",