@alloy-cd/sdk 0.0.8 → 0.0.9

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/bin/alloy.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const a0_0x2f7f50=a0_0x4fd0;(function(_0x8e89fa,_0xa72098){const _0x2ec97e=a0_0x4fd0,_0x27ef4c=_0x8e89fa();while(!![]){try{const _0x1707c0=parseInt(_0x2ec97e(0x8c))/0x1*(-parseInt(_0x2ec97e(0x91))/0x2)+parseInt(_0x2ec97e(0x9d))/0x3*(-parseInt(_0x2ec97e(0x8e))/0x4)+parseInt(_0x2ec97e(0xa7))/0x5*(-parseInt(_0x2ec97e(0x9b))/0x6)+parseInt(_0x2ec97e(0x95))/0x7*(parseInt(_0x2ec97e(0x98))/0x8)+parseInt(_0x2ec97e(0x8a))/0x9+-parseInt(_0x2ec97e(0x9a))/0xa*(-parseInt(_0x2ec97e(0x8d))/0xb)+parseInt(_0x2ec97e(0xa2))/0xc*(parseInt(_0x2ec97e(0x97))/0xd);if(_0x1707c0===_0xa72098)break;else _0x27ef4c['push'](_0x27ef4c['shift']());}catch(_0x4f48f4){_0x27ef4c['push'](_0x27ef4c['shift']());}}}(a0_0x3066,0x19765));const {spawnSync}=require(a0_0x2f7f50(0x92)),platform=process[a0_0x2f7f50(0xa3)],arch=process[a0_0x2f7f50(0xa6)],packageName=platform===a0_0x2f7f50(0x96)&&arch===a0_0x2f7f50(0x8f)?a0_0x2f7f50(0xa0):platform===a0_0x2f7f50(0x96)&&arch==='x64'?'@alloy-cd/sdk-darwin-x64':platform===a0_0x2f7f50(0x89)&&arch===a0_0x2f7f50(0x8f)?a0_0x2f7f50(0x9f):platform===a0_0x2f7f50(0x89)&&arch===a0_0x2f7f50(0x94)?a0_0x2f7f50(0x88):platform==='win32'&&arch===a0_0x2f7f50(0x94)?a0_0x2f7f50(0x90):undefined;!packageName&&(console[a0_0x2f7f50(0xa5)]('Unsupported\x20platform:\x20'+platform+'\x20'+arch),process[a0_0x2f7f50(0x9e)](0x1));function a0_0x4fd0(_0x3ac28,_0x449a28){_0x3ac28=_0x3ac28-0x86;const _0x306677=a0_0x3066();let _0x4fd04d=_0x306677[_0x3ac28];return _0x4fd04d;}let binary;try{binary=require[a0_0x2f7f50(0x9c)](packageName+'/bin/alloy');}catch{try{binary=require[a0_0x2f7f50(0x9c)](packageName+a0_0x2f7f50(0x87));}catch{console[a0_0x2f7f50(0xa5)](a0_0x2f7f50(0xa1)+packageName),console['error'](a0_0x2f7f50(0x86)),process[a0_0x2f7f50(0x9e)](0x1);}}const result=spawnSync(binary,process[a0_0x2f7f50(0x93)][a0_0x2f7f50(0x99)](0x2),{'stdio':a0_0x2f7f50(0x8b)});function a0_0x3066(){const _0x1f45f6=['slice','194660PreXon','318PyqdPT','resolve','2781LwIKEY','exit','@alloy-cd/sdk-linux-arm64','@alloy-cd/sdk-darwin-arm64','Missing\x20Alloy\x20binary\x20package:\x20','12UrPaXr','platform','status','error','arch','15570hmnjTd','Try\x20reinstalling\x20@alloy-cd/sdk.','/bin/alloy.exe','@alloy-cd/sdk-linux-x64','linux','1264203qomxbc','inherit','5nOOmPp','110kMRsCD','872mDQvLB','arm64','@alloy-cd/sdk-win32-x64','66280XtWwBP','node:child_process','argv','x64','7AfIYzV','darwin','1350271wPUAIn','1585016bVqcUp'];a0_0x3066=function(){return _0x1f45f6;};return a0_0x3066();}process[a0_0x2f7f50(0x9e)](result[a0_0x2f7f50(0xa4)]??0x1);
2
+ var a0_0x27a5b3=a0_0x3a7d;(function(_0xae1f06,_0x3093ef){var _0x8c7bf7=a0_0x3a7d,_0xa8a490=_0xae1f06();while(!![]){try{var _0x1b8f00=-parseInt(_0x8c7bf7(0xb4))/0x1+-parseInt(_0x8c7bf7(0xb8))/0x2*(-parseInt(_0x8c7bf7(0xbf))/0x3)+parseInt(_0x8c7bf7(0xc7))/0x4+parseInt(_0x8c7bf7(0xc1))/0x5*(parseInt(_0x8c7bf7(0xc3))/0x6)+-parseInt(_0x8c7bf7(0xcb))/0x7*(parseInt(_0x8c7bf7(0xba))/0x8)+parseInt(_0x8c7bf7(0xc2))/0x9+parseInt(_0x8c7bf7(0xc9))/0xa*(-parseInt(_0x8c7bf7(0xb7))/0xb);if(_0x1b8f00===_0x3093ef)break;else _0xa8a490['push'](_0xa8a490['shift']());}catch(_0x559424){_0xa8a490['push'](_0xa8a490['shift']());}}}(a0_0x2dde,0x38a96));var s=require(a0_0x27a5b3(0xbe)),e=require(a0_0x27a5b3(0xb6)),o=e[a0_0x27a5b3(0xca)]('file:///home/runner/work/alloy/alloy/apps/sdk/src/main.ts'),n={'darwin:arm64':'@alloy-cd/sdk-darwin-arm64','darwin:x64':'@alloy-cd/sdk-darwin-x64','linux:arm64':a0_0x27a5b3(0xb9),'linux:x64':a0_0x27a5b3(0xc4),'win32:x64':'@alloy-cd/sdk-win32-x64'},l=process[a0_0x27a5b3(0xbd)]+':'+process['arch'],a=n[l];if(!a)console[a0_0x27a5b3(0xbb)]('Unsupported\x20platform:\x20'+process['platform']+'\x20'+process[a0_0x27a5b3(0xcc)]),process['exit'](0x1);var t=i(a),c=s[a0_0x27a5b3(0xcd)](t,process['argv'][a0_0x27a5b3(0xc8)](0x2),{'stdio':a0_0x27a5b3(0xc5)});function a0_0x2dde(){var _0x2ba958=['150YbKPhT','@alloy-cd/sdk-linux-x64','inherit','/bin/alloy.exe','928852KZKLHK','slice','20mggdEa','createRequire','2708048FhlnKo','arch','spawnSync','resolve','245381vVVVWU','/bin/alloy','node:module','1394327gNZswN','87898yavYtg','@alloy-cd/sdk-linux-arm64','8dRROWD','error','Missing\x20Alloy\x20binary\x20package:\x20','platform','node:child_process','21QcZnen','exit','57995UQdPGn','2592126NdlXVL'];a0_0x2dde=function(){return _0x2ba958;};return a0_0x2dde();}function a0_0x3a7d(_0x41e313,_0x31e8d1){_0x41e313=_0x41e313-0xb4;var _0x2ddeac=a0_0x2dde();var _0x3a7d44=_0x2ddeac[_0x41e313];return _0x3a7d44;}process[a0_0x27a5b3(0xc0)](c['status']??0x1);function i(_0x570366){var _0x4928ba=a0_0x27a5b3;try{return o['resolve'](_0x570366+_0x4928ba(0xb5));}catch{try{return o[_0x4928ba(0xce)](_0x570366+_0x4928ba(0xc6));}catch{console[_0x4928ba(0xbb)](_0x4928ba(0xbc)+_0x570366),console[_0x4928ba(0xbb)]('Try\x20reinstalling\x20@alloy-cd/sdk.'),process[_0x4928ba(0xc0)](0x1);}}}
package/package/index.js CHANGED
@@ -1 +1 @@
1
- function o(_0x476ee0){return _0x476ee0;}export{o as defineConfig};
1
+ function o(_0x166ccb){return _0x166ccb;}export{o as defineConfig};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alloy-cd/sdk",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "alloy": "./bin/alloy.cjs"
@@ -14,11 +14,11 @@
14
14
  }
15
15
  },
16
16
  "optionalDependencies": {
17
- "@alloy-cd/sdk-darwin-arm64": "0.0.8",
18
- "@alloy-cd/sdk-darwin-x64": "0.0.8",
19
- "@alloy-cd/sdk-linux-arm64": "0.0.8",
20
- "@alloy-cd/sdk-linux-x64": "0.0.8",
21
- "@alloy-cd/sdk-win32-x64": "0.0.8"
17
+ "@alloy-cd/sdk-darwin-arm64": "0.0.9",
18
+ "@alloy-cd/sdk-darwin-x64": "0.0.9",
19
+ "@alloy-cd/sdk-linux-arm64": "0.0.9",
20
+ "@alloy-cd/sdk-linux-x64": "0.0.9",
21
+ "@alloy-cd/sdk-win32-x64": "0.0.9"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"