@wix/site-service-lightbox 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/README.md +1 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -63,13 +63,11 @@ the same type the lightbox was opened with; that is the caller's assertion.
63
63
 
64
64
  ## Migrating from 1.x or 2.x
65
65
 
66
- 2.0.0 renamed the value you pass to a lightbox from "context" to "payload", and 2.1.0 kept the old
67
- names as deprecated aliases. 3.0.0 removes them:
66
+ 3.0.0 removes the deprecated "context" names. Use "payload" instead:
68
67
 
69
68
  - `open({ slug, context })` becomes `open({ slug, payload })`.
70
69
  - `getContext()` becomes `getPayload()`.
71
70
  - `LightboxContext` becomes `LightboxPayload`, and the `TContext` type parameter becomes `TPayload`.
72
- - The host config's `getContext` becomes `getPayload`, and `open` reads `options.payload`.
73
71
 
74
72
  ## Configuration
75
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/site-service-lightbox",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "license": "UNLICENSED",
5
5
  "files": [
6
6
  "dist",
@@ -77,5 +77,5 @@
77
77
  ]
78
78
  }
79
79
  },
80
- "falconPackageHash": "fbe510bb03264cffaf1a8834789e337eef4c465e2accb766c1c5a67f"
80
+ "falconPackageHash": "6eac32081a3b06d947b63c273483cf4e42237660a004ede3666953ee"
81
81
  }