@forge/usage 0.1.0 → 0.1.1-next.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @forge/usage
2
2
 
3
+ ## 0.1.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 7b2ebca: Remove applicableExemptionId and sandboxAppChargeable from the reportUsageCount payload
8
+ - @forge/api@8.4.1-next.0
9
+
3
10
  ## 0.1.0
4
11
 
5
12
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE3D,eAAO,MAAM,iBAAiB,0CAA0C,CAAC;AACzE,eAAO,MAAM,eAAe,aAAa,CAAC;AAC1C,eAAO,MAAM,aAAa,uDAAuD,CAAC;AAKlF,MAAM,MAAM,sBAAsB,GAAG;IAEnC,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AA4CF,eAAO,MAAM,sBAAsB,GAAI,kBAAkB,WAAW,MAC3B,QAAQ,sBAAsB,KAAG,OAAO,CAAC,WAAW,CA0B5F,CAAC;AAKF,eAAO,MAAM,gBAAgB,WA/BoB,sBAAsB,KAAG,OAAO,CAAC,WAAW,CA+Bd,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE3D,eAAO,MAAM,iBAAiB,0CAA0C,CAAC;AACzE,eAAO,MAAM,eAAe,aAAa,CAAC;AAC1C,eAAO,MAAM,aAAa,uDAAuD,CAAC;AAKlF,MAAM,MAAM,sBAAsB,GAAG;IAEnC,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AA2CF,eAAO,MAAM,sBAAsB,GAAI,kBAAkB,WAAW,MAC3B,QAAQ,sBAAsB,KAAG,OAAO,CAAC,WAAW,CAwB5F,CAAC;AAKF,eAAO,MAAM,gBAAgB,WA7BoB,sBAAsB,KAAG,OAAO,CAAC,WAAW,CA6Bd,CAAC"}
package/out/index.js CHANGED
@@ -38,15 +38,13 @@ const createReportUsageCount = (requestAtlassian) => {
38
38
  const dimensions = [
39
39
  { id: 'billableAction', value: exports.BILLABLE_ACTION },
40
40
  { id: 'actor', value: actor },
41
- { id: 'installationContext', value: contextAri },
42
- { id: 'sandboxAppChargeable', value: 'false' }
41
+ { id: 'installationContext', value: contextAri }
43
42
  ];
44
43
  const payload = {
45
44
  usageUniqueId: (0, crypto_1.randomUUID)(),
46
45
  metricType: COUNTER_METRIC_TYPE,
47
46
  usageCount: params.usageCount,
48
47
  usageTimestamp,
49
- applicableExemptionId: null,
50
48
  dimensions
51
49
  };
52
50
  return await requestAtlassian(exports.USAGE_EVENTS_PATH, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/usage",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-next.0",
4
4
  "description": "Forge Usage SDK",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  "compile": "tsc -b -v"
11
11
  },
12
12
  "dependencies": {
13
- "@forge/api": "^8.4.0"
13
+ "@forge/api": "^8.4.1-next.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "20.19.1",