Skip to content

Commit

Permalink
Updated API_VERSION to use 2.0 instead of 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Mar 15, 2024
1 parent 09aad4b commit e8f2a23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace Ably;

class Defaults {
const API_VERSION = '1.1';
const API_VERSION = '2.0';
const LIB_VERSION = '1.1.9';

static $restHost = "rest.ably.io";
Expand Down
2 changes: 1 addition & 1 deletion src/Models/ClientOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class ClientOptions extends AuthOptions {
/**
* @var bool defaults to false for clients with version < 1.2, otherwise true
*/
public $idempotentRestPublishing = Defaults::API_VERSION >= '1.2';
public $idempotentRestPublishing = true

/**
* @var string a class that should be used for Auth
Expand Down

0 comments on commit e8f2a23

Please sign in to comment.