Skip to content

Commit

Permalink
fix setOrganization
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinSchneider committed Apr 27, 2024
1 parent 35cf9d9 commit 9bb1fd2
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion sdk/client/cdn/build.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions sdk/client/cdn/package-lock.json

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

4 changes: 2 additions & 2 deletions sdk/client/cdn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swishjam/cdn",
"version": "0.0.52",
"version": "0.0.521",
"description": "",
"main": "build.js",
"scripts": {
Expand All @@ -11,7 +11,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@swishjam/core": "^0.0.52"
"@swishjam/core": "^0.0.521"
},
"devDependencies": {
"@babel/core": "^7.22.15",
Expand Down
2 changes: 1 addition & 1 deletion sdk/client/core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.52",
"version": "0.0.521",
"name": "@swishjam/core",
"description": "The official Swishjam JS client to instrument your webpages with.",
"homepage": "https://swishjam.com",
Expand Down
2 changes: 1 addition & 1 deletion sdk/client/core/src/client.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class Client {
} else {
return this.errorHandler.executeWithErrorHandling(() => {
const previouslySetOrgData = PersistentMemoryManager.getOrganizationData();
const newOrgData = PersistentMemoryManager.setOrganizationData({ traits, identifier: organizationIdentifier });
const newOrgData = PersistentMemoryManager.setOrganizationData({ ...traits, identifier: organizationIdentifier });
if (Util.jsonIsEqual(previouslySetOrgData, newOrgData)) {
return;
}
Expand Down
18 changes: 9 additions & 9 deletions sdk/client/react/package-lock.json

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

4 changes: 2 additions & 2 deletions sdk/client/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swishjam/react",
"version": "0.0.52",
"version": "0.0.522",
"description": "React wrapper for SwishjamJS.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
Expand All @@ -25,7 +25,7 @@
"author": "Swishjam",
"license": "MIT",
"dependencies": {
"@swishjam/core": "^0.0.52"
"@swishjam/core": "^0.0.521"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.21.0",
Expand Down

0 comments on commit 9bb1fd2

Please sign in to comment.