Skip to content

Commit 2bcfae1

Browse files
Release 160601 (#1438)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Fadi George <fadii925@gmail.com>
1 parent f31487b commit 2bcfae1

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"lint:fix": "oxlint src --fix; prettier --write 'src/**/*' '__test__/**/*'"
3737
},
3838
"config": {
39-
"sdkVersion": "160600"
39+
"sdkVersion": "160601"
4040
},
4141
"repository": {
4242
"type": "git",
@@ -77,7 +77,7 @@
7777
},
7878
{
7979
"path": "./build/releases/OneSignalSDK.page.es6.js",
80-
"limit": "43.701 kB",
80+
"limit": "43.69 kB",
8181
"gzip": true
8282
},
8383
{

src/core/executors/SubscriptionOperationExecutor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,6 @@ describe('SubscriptionOperationExecutor', () => {
553553
identity: {
554554
onesignal_id: ONESIGNAL_ID,
555555
},
556-
retain_previous_owner: false,
557556
});
558557
});
559558

src/core/executors/SubscriptionOperationExecutor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ export class SubscriptionOperationExecutor implements IOperationExecutor {
275275
{ appId: op._appId },
276276
op._subscriptionId,
277277
{ onesignal_id: op._onesignalId },
278-
false,
279278
);
280279

281280
if (response.ok) {

src/core/requests/api.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,12 @@ export async function transferSubscriptionById(
252252
requestMetadata: RequestMetadata,
253253
subscriptionId: string,
254254
identity: IUserIdentity,
255-
retainPreviousOwner: boolean,
256255
) {
257256
const { appId } = requestMetadata;
258257
return OneSignalApiBase.patch<{ identity: IUserIdentity }>(
259258
`apps/${appId}/subscriptions/${subscriptionId}/owner`,
260259
{
261260
identity: { ...identity },
262-
retain_previous_owner: retainPreviousOwner,
263261
},
264262
requestMetadata.jwtHeader,
265263
);

0 commit comments

Comments
 (0)