com.xd.sdk.payment 7.2.1-alpha.3 → 7.2.1-alpha.4

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.
Files changed (21) hide show
  1. package/Plugins/Android/libs/XDGBridgePayment_v7_7.3.0.aar +0 -0
  2. package/Plugins/Android/libs/{XDGPaymentUPPay_7.2.0.aar → XDGPaymentUPPay_7.3.0.aar} +0 -0
  3. package/Plugins/Android/libs/XDGPayment_7.3.0.aar +0 -0
  4. package/Plugins/iOS/XDPaymentSDK.framework/Headers/XDGPaymentApi.h.meta +7 -0
  5. package/Plugins/iOS/XDPaymentSDK.framework/Headers/XDGPaymentVersion.h +1 -1
  6. package/Plugins/iOS/XDPaymentSDK.framework/Headers/XDPaymentSDK-Swift.h.meta +7 -0
  7. package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo.meta +7 -0
  8. package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/Project.meta +8 -0
  9. package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/arm64-apple-ios.abi.json.meta +7 -0
  10. package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/arm64-apple-ios.swiftdoc.meta +7 -0
  11. package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/arm64-apple-ios.swiftmodule.meta +7 -0
  12. package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule.meta +8 -0
  13. package/Runtime/Internal/Standalone/AliyunTrack.Payment.cs +2 -2
  14. package/Runtime/Internal/Standalone/PayModule.cs +5 -5
  15. package/Runtime/Internal/Standalone/PaymentFeaturesImpl.cs +1 -1
  16. package/package.json +2 -2
  17. package/Plugins/Android/libs/XDGBridgePayment_v7_7.2.0.aar +0 -0
  18. package/Plugins/Android/libs/XDGPayment_7.2.0.aar +0 -0
  19. /package/Plugins/Android/libs/{XDGBridgePayment_v7_7.2.0.aar.meta → XDGBridgePayment_v7_7.3.0.aar.meta} +0 -0
  20. /package/Plugins/Android/libs/{XDGPaymentUPPay_7.2.0.aar.meta → XDGPaymentUPPay_7.3.0.aar.meta} +0 -0
  21. /package/Plugins/Android/libs/{XDGPayment_7.2.0.aar.meta → XDGPayment_7.3.0.aar.meta} +0 -0
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 8c8ab07fbcc424fbc8eb4a21a8c45620
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -7,4 +7,4 @@
7
7
 
8
8
  #define XDGPayment_VERSION @"7.3.0"
9
9
  #define XDSPayment_VERSION_CODE @"7030000"
10
- // HASH e0ae45d9
10
+ // HASH 12db4772
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 31a6d980e3c0647819e003b16e2b388d
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: ab69dcd8bff6640028849edb7f55f641
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: bc7ddc8794a434581b55644fef212dc1
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 21d959547125044999791481eaf3568b
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 8faaff52a121a4df08b6682d0002a935
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 994b7cde0c83942cf91cec0f9058a8a9
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -0,0 +1,8 @@
1
+ fileFormatVersion: 2
2
+ guid: 2490938a2abe647819839c2fae64de27
3
+ folderAsset: yes
4
+ DefaultImporter:
5
+ externalObjects: {}
6
+ userData:
7
+ assetBundleName:
8
+ assetBundleVariant:
@@ -67,9 +67,9 @@ namespace XD.SDK.Payment.Internal.Standalone
67
67
  {
68
68
  string eventId = "sdkcharge_order_request";
69
69
  Dictionary<string, string> data = GetPaymentModuleCommonProperties(eventId);
70
- if (SteamWrapper.Initialized())
70
+ if (SteamUtils.IsSDKSupported)
71
71
  {
72
- data["pick_country"] = SteamWrapper.Instance.GetSteamCountry();
72
+ data["pick_country"] = SteamUtils.Instance.GetSteamCountry();
73
73
  }
74
74
  CommonAliyunTrack.LogEventAsync(eventId, data);
75
75
  }
@@ -125,7 +125,7 @@ namespace XD.SDK.Payment.Internal.Standalone
125
125
  {
126
126
  CreateOrderResult createOrderResult = await CreateSteamOrder(productId, serverId, roldId, orderId, ext);
127
127
 
128
- string microTxn = await SteamWrapper.Instance.GetMicroTxn(createOrderResult.TradeNo);
128
+ string microTxn = await SteamUtils.Instance.GetMicroTxn(createOrderResult.TradeNo);
129
129
  AliyunTrack.ReceiveSteamOrder(createOrderResult.TradeNo.ToString());
130
130
  await ReportSteamOrder(productId, createOrderResult.TradeNo, microTxn);
131
131
  }
@@ -143,8 +143,8 @@ namespace XD.SDK.Payment.Internal.Standalone
143
143
  AliyunTrack.CreateOrder();
144
144
  try
145
145
  {
146
- string steamId = SteamWrapper.Instance.GetSteamId();
147
- string steamLanguage = SteamWrapper.Instance.GetSteamLanguage();
146
+ string steamId = SteamUtils.Instance.GetSteamId();
147
+ string steamLanguage = SteamUtils.Instance.GetSteamLanguage();
148
148
  Dictionary<string, object> data = new Dictionary<string, object>
149
149
  {
150
150
  { "productId", productId },
@@ -234,9 +234,9 @@ namespace XD.SDK.Payment.Internal.Standalone
234
234
  { "skus", string.Join(",", productIds) }
235
235
  };
236
236
  var url = XDG_QUERY_PRODUCTS_V2;
237
- if (SteamWrapper.Initialized())
237
+ if (SteamUtils.IsSDKSupported)
238
238
  {
239
- queryParams.Add("steamId", SteamWrapper.Instance.GetSteamId());
239
+ queryParams.Add("steamId", SteamUtils.Instance.GetSteamId());
240
240
  url = XDG_QUERY_PRODUCTS;
241
241
  }
242
242
  var response = await XDHttpClient.Client.GetAsync<QueryProductsResponse>(url,
@@ -82,7 +82,7 @@ namespace XD.SDK.Payment.Internal.Standalone
82
82
 
83
83
  try
84
84
  {
85
- if (SteamWrapper.Initialized())
85
+ if (SteamUtils.IsSDKSupported)
86
86
  {
87
87
  await PayModule.PayWithSteam(paymentParams.ProductId, paymentParams.ServerId, paymentParams.RoleId,
88
88
  paymentParams.GameOrderId,
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "com.xd.sdk.payment",
3
3
  "displayName": "XDGSDK Payment",
4
- "version": "7.2.1-alpha.3",
4
+ "version": "7.2.1-alpha.4",
5
5
  "description": "XDGSDK",
6
6
  "unity": "2019.3",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.xd.sdk.common": "7.2.1-alpha.3"
9
+ "com.xd.sdk.common": "7.2.1-alpha.4"
10
10
  }
11
11
  }