doordeck-headless-sdk 0.95.0__tar.gz → 0.97.0__tar.gz

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.

Potentially problematic release.


This version of doordeck-headless-sdk might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: doordeck_headless_sdk
3
- Version: 0.95.0
3
+ Version: 0.97.0
4
4
  Summary: The official Doordeck SDK for Kotlin Multiplatform
5
5
  Author-email: Doordeck Limited <development@doordeck.com>
6
6
  Project-URL: Homepage, https://www.doordeck.com
@@ -3,7 +3,7 @@ requires = ["setuptools"]
3
3
  build-backend = "setuptools.build_meta"
4
4
  [project]
5
5
  name = "doordeck_headless_sdk"
6
- version = "0.95.0"
6
+ version = "0.97.0"
7
7
  description = "The official Doordeck SDK for Kotlin Multiplatform"
8
8
  readme = "README.md"
9
9
  requires-python = "==3.13.2"
@@ -67,7 +67,6 @@ import typing
67
67
  import base64
68
68
  import asyncio
69
69
  import ctypes
70
- from enum import Enum
71
70
  from types import SimpleNamespace
72
71
  from typing import List, Optional
73
72
  from dataclasses import dataclass, field
@@ -91,7 +90,7 @@ class MissingAndroidContextException(SdkException):
91
90
 
92
91
  class BatchShareFailedException(SdkException):
93
92
  def __init__(self, message: str, user_ids: list):
94
- super().__init__(message)
93
+ super().__init__(message, user_ids)
95
94
  self.user_ids = user_ids
96
95
 
97
96
 
@@ -190,7 +189,7 @@ def handle_exception(response):
190
189
  if "MissingContextFieldException" in exception_type:
191
190
  raise MissingContextFieldException(exception_message)
192
191
  if "BatchShareFailedException" in exception_type:
193
- raise BatchShareFailedException(exception_message)
192
+ raise BatchShareFailedException(exception_message, [])
194
193
  if "BadRequestException" in exception_type:
195
194
  raise BadRequestException(exception_message)
196
195
  if "UnauthorizedException" in exception_type:
@@ -657,7 +656,7 @@ class Account(object):
657
656
  async def change_password(self, oldPassword: str, newPassword: str):
658
657
  data = {
659
658
  "oldPassword": oldPassword,
660
- "oldPassword": oldPassword
659
+ "newPassword": newPassword
661
660
  }
662
661
  return await execute_async(
663
662
  _doordeck_headless_sdk.changePassword,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: doordeck_headless_sdk
3
- Version: 0.95.0
3
+ Version: 0.97.0
4
4
  Summary: The official Doordeck SDK for Kotlin Multiplatform
5
5
  Author-email: Doordeck Limited <development@doordeck.com>
6
6
  Project-URL: Homepage, https://www.doordeck.com