releasebird-javascript-sdk 1.0.70 → 1.0.72

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/index.d.ts CHANGED
@@ -5,5 +5,10 @@ export namespace Rbird {
5
5
  function showWidget(): void;
6
6
  function logout(): void;
7
7
  function showButton(showButton: boolean): void;
8
+ /**
9
+ * Manually display a banner by its ID
10
+ * @param bannerId - The ID of the banner to show
11
+ */
12
+ function showBanner(bannerId: string): void;
8
13
  }
9
14
  export default Rbird;
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "releasebird-javascript-sdk",
3
- "version": "1.0.70",
3
+ "version": "1.0.72",
4
4
  "description": "javascript sdk for releasebird",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
7
- "build": "webpack",
8
- "prepublishOnly": "npm run build"
7
+ "build": "webpack --env profile=prod",
8
+ "build:local": "webpack --env profile=local",
9
+ "build:prod": "webpack --env profile=prod",
10
+ "prepublishOnly": "npm run build:prod"
9
11
  },
10
12
  "repository": {
11
13
  "type": "git",