anymal-protocol 1.0.144 → 1.0.145

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/dist/index.d.mts CHANGED
@@ -428,7 +428,7 @@ declare const ORG_FUNCTION = "executeCall";
428
428
  *
429
429
  * @returns {Function} - Async function to create the organization.
430
430
  */
431
- declare function useCoinbaseCreateOrganizationWallet(): (orgPid: string, orgName: string, ownerAddress: string, orgContractAddress: `0x${string}`, evmAddress: `0x${string}`) => Promise<{
431
+ declare function useCoinbaseCreateOrganizationWallet(): (orgPid: string, orgName: string, orgContractAddress: `0x${string}`, evmAddress: `0x${string}`) => Promise<{
432
432
  success: boolean;
433
433
  message: string;
434
434
  proxyAddress?: string;
package/dist/index.d.ts CHANGED
@@ -428,7 +428,7 @@ declare const ORG_FUNCTION = "executeCall";
428
428
  *
429
429
  * @returns {Function} - Async function to create the organization.
430
430
  */
431
- declare function useCoinbaseCreateOrganizationWallet(): (orgPid: string, orgName: string, ownerAddress: string, orgContractAddress: `0x${string}`, evmAddress: `0x${string}`) => Promise<{
431
+ declare function useCoinbaseCreateOrganizationWallet(): (orgPid: string, orgName: string, orgContractAddress: `0x${string}`, evmAddress: `0x${string}`) => Promise<{
432
432
  success: boolean;
433
433
  message: string;
434
434
  proxyAddress?: string;
package/dist/index.js CHANGED
@@ -3034,8 +3034,8 @@ function useCoinbaseCreateOrganizationWallet() {
3034
3034
  * @param evmAddress - The Coinbase smart account address of the admin.
3035
3035
  * @returns A promise with success status, message, and optional proxyAddress.
3036
3036
  */
3037
- async (orgPid, orgName, ownerAddress, orgContractAddress, evmAddress) => {
3038
- if (!orgPid || !orgName || !ownerAddress || !orgContractAddress || !evmAddress) {
3037
+ async (orgPid, orgName, orgContractAddress, evmAddress) => {
3038
+ if (!orgPid || !orgName || !orgContractAddress || !evmAddress) {
3039
3039
  return {
3040
3040
  success: false,
3041
3041
  message: "Missing required parameters for organization creation.",
@@ -3047,7 +3047,7 @@ function useCoinbaseCreateOrganizationWallet() {
3047
3047
  orgContractAddress,
3048
3048
  ORGANIZATION_BEACON_ABI,
3049
3049
  "createOrganizationProxy",
3050
- [ownerAddress, orgName, orgPid]
3050
+ [evmAddress, orgName, orgPid]
3051
3051
  );
3052
3052
  if (!result.success) {
3053
3053
  return { ...result, status: "error" };
package/dist/index.mjs CHANGED
@@ -2955,8 +2955,8 @@ function useCoinbaseCreateOrganizationWallet() {
2955
2955
  * @param evmAddress - The Coinbase smart account address of the admin.
2956
2956
  * @returns A promise with success status, message, and optional proxyAddress.
2957
2957
  */
2958
- async (orgPid, orgName, ownerAddress, orgContractAddress, evmAddress) => {
2959
- if (!orgPid || !orgName || !ownerAddress || !orgContractAddress || !evmAddress) {
2958
+ async (orgPid, orgName, orgContractAddress, evmAddress) => {
2959
+ if (!orgPid || !orgName || !orgContractAddress || !evmAddress) {
2960
2960
  return {
2961
2961
  success: false,
2962
2962
  message: "Missing required parameters for organization creation.",
@@ -2968,7 +2968,7 @@ function useCoinbaseCreateOrganizationWallet() {
2968
2968
  orgContractAddress,
2969
2969
  ORGANIZATION_BEACON_ABI,
2970
2970
  "createOrganizationProxy",
2971
- [ownerAddress, orgName, orgPid]
2971
+ [evmAddress, orgName, orgPid]
2972
2972
  );
2973
2973
  if (!result.success) {
2974
2974
  return { ...result, status: "error" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymal-protocol",
3
- "version": "1.0.144",
3
+ "version": "1.0.145",
4
4
  "description": "A React/TypeScript-based utility library for reusable functions and hooks inside of the Anymal Ecosystem.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {