Skip to content

Commit

Permalink
Migrating src files to typescript and adding types (#253)
Browse files Browse the repository at this point in the history
* Migrating src files to typescript and adding types

* esm and cjs builds

* fix tests

* trigger build

* 0.8.4-alpha.0

* update demos to alpha

* rename build for cjs to main.js

* 0.8.4-alpha.1

* 0.8.4-beta.0
  • Loading branch information
hemang-thakkar authored Jan 13, 2025
1 parent 3f4d3c9 commit 5fe2c46
Show file tree
Hide file tree
Showing 21 changed files with 688 additions and 564 deletions.
8 changes: 4 additions & 4 deletions demos/demo-minimal-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demos/demo-minimal-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"@hubspot/calling-extensions-sdk": "^0.8.2",
"@hubspot/calling-extensions-sdk": "^0.8.4-alpha.0",
"uuid": "^10.0.0"
}
}
14 changes: 7 additions & 7 deletions demos/demo-react-ts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demos/demo-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"node": ">=14"
},
"dependencies": {
"@hubspot/calling-extensions-sdk": "^0.8.2",
"@hubspot/calling-extensions-sdk": "^0.8.4-alpha.0",
"react": "^18.2.0",
"react-aria": "^3.22.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion index.js → index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ import IFrameManager from "./src/IFrameManager";

export default CallingExtensions;
export { Constants, IFrameManager };
export * from "./src/typedefs";
export * from "./src/types";
Loading

0 comments on commit 5fe2c46

Please sign in to comment.