@cinerino/sdk 12.4.0 → 12.5.0-alpha.0

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.
@@ -5,9 +5,11 @@ import * as auth from '../../auth/authAsAdmin';
5
5
 
6
6
  const PROJECT_ID = String(process.env.PROJECT_ID);
7
7
  const SELLER_ID = '59d20831e53ebc2b4e774466';
8
+ // const SELLER_ID = '64b47a8e43423b261dbcabc5';
8
9
  const MEMBER_TIER_IDENTIFIER = 'bronze';
9
- const OFFER_IDENTIFIER = '20250924ValidForMemberTier';
10
- const itemOfferedIdentifier = '20250924ValidForMemberTier';
10
+ const OFFER_IDENTIFIER = '20250925ValidForMemberTier1';
11
+ const OFFER_IDENTIFIER2 = '20250925ValidForMemberTier2';
12
+ const itemOfferedIdentifier = '20250925ValidForMemberTier';
11
13
 
12
14
  // tslint:disable-next-line:max-func-body-length
13
15
  async function main() {
@@ -34,7 +36,7 @@ async function main() {
34
36
  validThrough: now
35
37
  },
36
38
  {
37
- identifier: OFFER_IDENTIFIER,
39
+ identifier: OFFER_IDENTIFIER2,
38
40
  validForMemberTier: { identifier: MEMBER_TIER_IDENTIFIER },
39
41
  validFrom: now,
40
42
  validThrough: now
@@ -56,7 +58,7 @@ async function main() {
56
58
  validThrough: now
57
59
  },
58
60
  {
59
- identifier: OFFER_IDENTIFIER,
61
+ identifier: OFFER_IDENTIFIER2,
60
62
  validForMemberTier: { identifier: MEMBER_TIER_IDENTIFIER },
61
63
  validFrom: now,
62
64
  validThrough: now
@@ -71,8 +73,9 @@ async function main() {
71
73
 
72
74
  const offers = await productOfferService.findProductOffers({
73
75
  limit: 10,
74
- page: 1,
75
- itemOfferedIdentifier
76
+ page: 1
77
+ // itemOfferedIdentifier,
78
+ // offeredById: SELLER_ID
76
79
  });
77
80
  // tslint:disable-next-line:no-null-keyword
78
81
  console.dir(offers, { depth: null });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "12.4.0",
3
+ "version": "12.5.0-alpha.0",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -93,7 +93,7 @@
93
93
  "watchify": "^3.11.1"
94
94
  },
95
95
  "dependencies": {
96
- "@chevre/factory": "4.399.0-alpha.23",
96
+ "@chevre/factory": "4.399.0-alpha.24",
97
97
  "debug": "3.2.7",
98
98
  "http-status": "1.7.4",
99
99
  "idtoken-verifier": "2.0.3",