acp-plugin-gamesdk 0.1.20__tar.gz → 0.1.21__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: acp-plugin-gamesdk
3
- Version: 0.1.20
3
+ Version: 0.1.21
4
4
  Summary: ACP Plugin for Python SDK for GAME by Virtuals
5
5
  Author: Steven Lee Soon Fatt
6
6
  Author-email: steven@virtuals.io
@@ -83,8 +83,8 @@ class AcpJob:
83
83
  jobId: Optional[int]
84
84
  clientName: Optional[str]
85
85
  providerName: Optional[str]
86
- desc: str
87
- price: str
86
+ desc: Optional[str]
87
+ price: float
88
88
  providerAddress: Optional[str]
89
89
  clientAddress: Optional[str]
90
90
  phase: AcpJobPhasesDesc
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "acp-plugin-gamesdk"
3
- version = "0.1.20"
3
+ version = "0.1.21"
4
4
  description = "ACP Plugin for Python SDK for GAME by Virtuals"
5
5
  authors = ["Steven Lee Soon Fatt <steven@virtuals.io>"]
6
6
  readme = "README.md"
@@ -8,11 +8,11 @@ from datetime import datetime, timedelta, timezone
8
8
  from typing import Any, Dict, List, Optional, Tuple
9
9
 
10
10
  import socketio
11
+
11
12
  from game_sdk.game.agent import WorkerConfig
12
13
  from game_sdk.game.custom_types import Argument, Function, FunctionResultStatus
13
14
  from twitter_plugin_gamesdk.game_twitter_plugin import GameTwitterPlugin
14
15
  from twitter_plugin_gamesdk.twitter_plugin import TwitterPlugin
15
-
16
16
  from acp_plugin_gamesdk.acp_client import AcpClient
17
17
  from acp_plugin_gamesdk.acp_token import AcpToken
18
18
  from acp_plugin_gamesdk.interface import (
@@ -1,13 +1,13 @@
1
+ from datetime import datetime
2
+ from enum import IntEnum
1
3
  import json
2
4
  import time
3
5
  import traceback
4
- from datetime import datetime
5
- from enum import IntEnum
6
6
  from typing import Optional, Tuple, TypedDict
7
7
 
8
- import requests
9
8
  from eth_account import Account
10
9
  from eth_account.messages import encode_defunct
10
+ import requests
11
11
  from web3 import Web3
12
12
 
13
13
  from acp_plugin_gamesdk.acp_token_abi import ACP_TOKEN_ABI